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