From df390e3a0d5d0f43feaeadfd7c0c5f67a3a4d74f Mon Sep 17 00:00:00 2001 From: Thomas James Byer Date: Tue, 14 Jan 2025 15:06:30 -0800 Subject: [PATCH] fix for rockylinux cuda --- .../unitTests/fluidFlowTests/testSingleFlowUtils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreComponents/unitTests/fluidFlowTests/testSingleFlowUtils.hpp b/src/coreComponents/unitTests/fluidFlowTests/testSingleFlowUtils.hpp index f6cd81785db..f6b01b673b3 100644 --- a/src/coreComponents/unitTests/fluidFlowTests/testSingleFlowUtils.hpp +++ b/src/coreComponents/unitTests/fluidFlowTests/testSingleFlowUtils.hpp @@ -116,7 +116,7 @@ void testMobilityNumericalDerivatives( SinglePhaseFVM<> & solver, arrayView1d< real64 > const mob = subRegion.getField< fields::flow::mobility >(); - arrayView2d< real64 > const dMob = + arrayView2d< real64, constitutive::singlefluid::USD_FLUID > const dMob = subRegion.getField< fields::flow::dMobility >(); // reset the solver state to zero out variable updates @@ -164,7 +164,7 @@ void testMobilityNumericalDerivatives( SinglePhaseFVM<> & solver, arrayView1d< real64 const > const temp_n = subRegion.getField< fields::flow::temperature_n >(); - arrayView2d< real64 > const dMobTherm = + arrayView2d< real64, constitutive::singlefluid::USD_FLUID > const dMobTherm = subRegion.getField< fields::flow::dMobility >(); // reset the solver state to zero out variable updates (resetting the whole domain is overkill...)