From 5ccd0d6cd3bf9112cc0a85a41b06685441f90de7 Mon Sep 17 00:00:00 2001 From: Marsha Berger Date: Tue, 11 Aug 2026 11:51:59 -0400 Subject: [PATCH] fixed incorrect comparison when y not periodic but x is --- src/2d/prefilp.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/2d/prefilp.f90 b/src/2d/prefilp.f90 index 5e90a8e4..28bbeb32 100644 --- a/src/2d/prefilp.f90 +++ b/src/2d/prefilp.f90 @@ -146,7 +146,7 @@ recursive subroutine prefilrecur(level,nvar,valbig,auxbig,naux,time,mitot,mjtot, j2 = min(jhi,jregsz(level)-1) !endif elseif (j .eq. 3) then - if (jhi .gt. jregsz(level)) then + if (jhi .ge. jregsz(level)) then j1 = jregsz(level)-1 ! includes last cell on top for extrap bc j2 = jhi endif