From 444af25c69c61d24ec1d001cf7dce5ab98b66423 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Mon, 20 May 2019 13:42:31 -0700 Subject: prepare for upcoming amrex changes in Geometry --- Source/Utils/WarpXTagging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Utils/WarpXTagging.cpp') diff --git a/Source/Utils/WarpXTagging.cpp b/Source/Utils/WarpXTagging.cpp index 21acbefdc..8ea3211a3 100644 --- a/Source/Utils/WarpXTagging.cpp +++ b/Source/Utils/WarpXTagging.cpp @@ -9,7 +9,7 @@ using namespace amrex; void WarpX::ErrorEst (int lev, TagBoxArray& tags, Real time, int /*ngrow*/) { - const Real* problo = Geometry::ProbLo(); + const Real* problo = Geom(lev).ProbLo(); const Real* dx = Geom(lev).CellSize(); #ifdef _OPENMP -- cgit v1.2.3