1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00: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

@ -143,6 +143,9 @@ public:
_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];