1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Extra check that failed in quenched test

This commit is contained in:
Azusa Yamaguchi 2015-06-16 14:04:56 +01:00
parent 212c13bb2c
commit b11f4a1473

View File

@ -142,7 +142,10 @@ public:
// Use a reduced simd grid
_simd_layout[d] = simd_layout[d];
_rdimensions[d]= _ldimensions[d]/_simd_layout[d];
// all elements of a simd vector must have same checkerboard.
if ( simd_layout[d]>1 ) assert((_rdimensions[d]&0x1)==0);
_osites *= _rdimensions[d];
_isites *= _simd_layout[d];