From 921d1c0fb8d7e22a1176767988f762c27282be1f Mon Sep 17 00:00:00 2001 From: Jonah Maxwell Miller Date: Tue, 23 Apr 2024 17:20:33 -0600 Subject: [PATCH] one more static cast for those at home --- test/test_eos_tabulated.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_eos_tabulated.cpp b/test/test_eos_tabulated.cpp index 9844677d87..59e9b1b844 100644 --- a/test/test_eos_tabulated.cpp +++ b/test/test_eos_tabulated.cpp @@ -113,7 +113,8 @@ SCENARIO("SpinerEOS depends on Rho and T", "[SpinerEOS],[DependsRhoT][EOSPAC]") std::vector lambda(steelEOS_host_polymorphic.nlambda()); steelEOS_host_polymorphic.DensityEnergyFromPressureTemperature( P, T, lambda.data(), rho, sie); - eospac.DensityEnergyFromPressureTemperature(P, T, nullptr, rho_pac, sie_pac); + eospac.DensityEnergyFromPressureTemperature(P, T, static_cast(nullptr), + rho_pac, sie_pac); REQUIRE(isClose(rho, rho_pac)); } }