From fbaca5859bc1f5d9c7bea9da2f226bc1c353a44e Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Wed, 4 Aug 2021 13:27:12 -0400 Subject: [PATCH] Fix to box bound --- src/mode_merge.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mode_merge.f90 b/src/mode_merge.f90 index 8a812b1..1e8d291 100644 --- a/src/mode_merge.f90 +++ b/src/mode_merge.f90 @@ -188,7 +188,7 @@ module mode_merge end do !If we don't include the wrap command then we have to increase the size of the box - if(.not.(wrap_flag)) then + if(.not.(wrap_flag).and..not.(trim(adjustl(dim))=='none')) then do i = 1,3 if (alldims(i:i) /= trim(adjustl(dim))) then if (current_shift(i) < -lim_zero) then