From 836cb8d3bb58e0f108bf7f961674357cb1f2e32c Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Mon, 12 Aug 2024 14:54:42 -0700 Subject: [PATCH] fix ptr --- src/convection/incflo_compute_advection_term.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/convection/incflo_compute_advection_term.cpp b/src/convection/incflo_compute_advection_term.cpp index 8f8b8aa3..07a64715 100644 --- a/src/convection/incflo_compute_advection_term.cpp +++ b/src/convection/incflo_compute_advection_term.cpp @@ -325,7 +325,7 @@ incflo::compute_convective_term (Vector const& conv_u, if (m_advect_tracer && (m_ntrac>0)) { trac_nph.setVal(0.); fillphysbc_tracer(lev, m_cur_time+0.5*m_dt, trac_nph, 1); - auto const* iconserv = get_tracer_iconserv_device_ptr(); + auto const& iconserv = get_tracer_iconserv(); for (int n = 0; n < m_ntrac; n++) { if ( iconserv[n] ){ Multiply(trac_nph, rho_nph, 0, n, 1, 1);