From aed31bc720b0b2cdd1f78e34bf6e959ac1e48f56 Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Mon, 2 Sep 2024 00:31:01 +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 39a8b1913..644b184da 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.;