mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-07 04:35:56 +01:00
Assertion should never hit, but did due to a bug
This commit is contained in:
parent
ca554f661b
commit
2ffd941d67
@ -83,6 +83,7 @@ template<class vobj> inline void sliceSum(const Lattice<vobj> &Data,std::vector<
|
||||
typedef typename vobj::scalar_object sobj;
|
||||
|
||||
GridBase *grid = Data._grid;
|
||||
assert(grid!=NULL);
|
||||
const int Nd = grid->_ndimension;
|
||||
const int Nsimd = grid->Nsimd();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user