Skip to content

Commit

Permalink
one more static cast for those at home
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Apr 23, 2024
1 parent 3efad79 commit 921d1c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_eos_tabulated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ SCENARIO("SpinerEOS depends on Rho and T", "[SpinerEOS],[DependsRhoT][EOSPAC]")
std::vector<Real> 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<Real *>(nullptr),
rho_pac, sie_pac);
REQUIRE(isClose(rho, rho_pac));
}
}
Expand Down

0 comments on commit 921d1c0

Please sign in to comment.