utilities: Fix warnings about readUpdate enumeration comparisons

This commit is contained in:
Will Bainbridge
2023-11-08 14:56:25 +00:00
parent 03ec16135a
commit 02c28dda6a
3 changed files with 6 additions and 5 deletions

View File

@ -121,7 +121,7 @@ int main(int argc, char *argv[])
// Check for new mesh
if (mesh.readUpdate() != polyMesh::UNCHANGED)
if (mesh.readUpdate() != fvMesh::UNCHANGED)
{
Info<< "Detected changed mesh. Recreating singleCell mesh." << endl;
scMesh.clear(); // remove any registered objects