From aa12138b140a0f67e99a26938692deceb9f604fc Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Mon, 2 Sep 2024 00:31:52 +0100 Subject: [PATCH] Update nonthermal.cc --- nonthermal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonthermal.cc b/nonthermal.cc index 644b184da..30780dc11 100644 --- a/nonthermal.cc +++ b/nonthermal.cc @@ -302,7 +302,7 @@ void read_binding_energies() { if (binding_en_newformat) { int z_element{-1}; ssline >> z_element; - assert_always(z_element == elemindex + 1); + assert_always(z_element == (elemindex + 1)); } for (int shell = 0; shell < nshells; shell++) { float bindingenergy = 0.;