Commit 93c9a927 authored by Steve Plimpton's avatar Steve Plimpton Committed by GitHub
Browse files

Merge pull request #684 from irisTa56/bugfix-in-domain.cpp

Bugfix for checking image flags
parents 14dc1c69 534b7add
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -772,7 +772,7 @@ void Domain::image_check()
      delz = unwrap[i][2] - unwrap[k][2];

      if (xperiodic && delx > xprd_half) flag = 1;
      if (xperiodic && dely > yprd_half) flag = 1;
      if (yperiodic && dely > yprd_half) flag = 1;
      if (dimension == 3 && zperiodic && delz > zprd_half) flag = 1;
      if (!xperiodic && delx > xprd) flag = 1;
      if (!yperiodic && dely > yprd) flag = 1;