1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Gsites error. Only appeared (so far) in I/O code for even odd fields

This commit is contained in:
paboyle 2017-10-26 23:29:59 +01:00
parent 14507fd6e4
commit 0f3e9ae57d

View File

@ -205,6 +205,7 @@ public:
{
assert((_gdimensions[d] & 0x1) == 0);
_gdimensions[d] = _gdimensions[d] / 2; // Remove a checkerboard
_gsites /= 2;
}
_ldimensions[d] = _gdimensions[d] / _processors[d];
assert(_ldimensions[d] * _processors[d] == _gdimensions[d]);