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

Typo in assert

This commit is contained in:
Quadro 2021-05-18 16:35:01 -04:00
parent e3c18ce872
commit a918955020

View File

@ -51,8 +51,8 @@ public:
{
// Save what the comms mode should be under normal BCs
CommsMode = WilsonKernelsStatic::Comms;
assert((WilsonKernelsStatic::Comms = WilsonKernelsStatic::CommsAndCompute)
||(WilsonKernelsStatic::Comms = WilsonKernelsStatic::CommsThenCompute));
assert((WilsonKernelsStatic::Comms == WilsonKernelsStatic::CommsAndCompute)
||(WilsonKernelsStatic::Comms == WilsonKernelsStatic::CommsThenCompute));
// Check the block size divides local lattice
GridBase *grid = FermOp.GaugeGrid();