From cfd632c17c94305dd0066ab67c3ed1b843b0847c Mon Sep 17 00:00:00 2001 From: Alexander Holas Date: Thu, 19 Nov 2026 08:22:31 -0700 Subject: [PATCH 1/2] Fix overwrite of result --- singularity-eos/eos/eos_helmholtz.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/singularity-eos/eos/eos_helmholtz.hpp b/singularity-eos/eos/eos_helmholtz.hpp index 3f938692028..8fe7759632d 100644 --- a/singularity-eos/eos/eos_helmholtz.hpp +++ b/singularity-eos/eos/eos_helmholtz.hpp @@ -959,7 +959,6 @@ PORTABLE_INLINE_FUNCTION Real Helmholtz::lTFromRhoSie_(const Real rho, const Rea } lT = electrons_.lTMax(); } - IndexerUtils::SafeSet(lambda, Lambda::lT, lT); return lT; } From ba2d2f4e30c1e73928cb00488fc22308a6be2518 Mon Sep 17 00:00:00 2001 From: Alexander Holas Date: Thu, 19 Nov 2026 08:35:11 -0700 Subject: [PATCH 2/2] Add SafeSet --- singularity-eos/eos/eos_helmholtz.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/singularity-eos/eos/eos_helmholtz.hpp b/singularity-eos/eos/eos_helmholtz.hpp index 8fe7759632d..3f938692028 100644 --- a/singularity-eos/eos/eos_helmholtz.hpp +++ b/singularity-eos/eos/eos_helmholtz.hpp @@ -959,6 +959,7 @@ PORTABLE_INLINE_FUNCTION Real Helmholtz::lTFromRhoSie_(const Real rho, const Rea } lT = electrons_.lTMax(); } + IndexerUtils::SafeSet(lambda, Lambda::lT, lT); return lT; }