From 12d78288037cc6dd130d389d1e909cd97c97d3f7 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Thu, 2 Jun 2022 17:18:15 -0500 Subject: [PATCH] Update photon_production regression test result --- src/tallies/tally_scoring.cpp | 2 +- tests/regression_tests/photon_production/results_true.dat | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tallies/tally_scoring.cpp b/src/tallies/tally_scoring.cpp index 7decf58a4..68eb344af 100644 --- a/src/tallies/tally_scoring.cpp +++ b/src/tallies/tally_scoring.cpp @@ -963,7 +963,7 @@ void score_general_ce_nonanalog(Particle& p, int i_tally, int start_index, score = score_neutron_heating( p, tally, flux, HEATING, i_nuclide, atom_density); } else { - if (i_nuclide < 0 || i_nuclide == p.event_nuclide()) { + if (i_nuclide == -1 || i_nuclide == p.event_nuclide()) { // The energy deposited is the difference between the pre-collision // and post-collision energy... score = E - p.E(); diff --git a/tests/regression_tests/photon_production/results_true.dat b/tests/regression_tests/photon_production/results_true.dat index 03fb80b81..398deeed8 100644 --- a/tests/regression_tests/photon_production/results_true.dat +++ b/tests/regression_tests/photon_production/results_true.dat @@ -67,8 +67,8 @@ tally 3: 0.000000E+00 0.000000E+00 0.000000E+00 -1.764573E+05 -3.113718E+10 +0.000000E+00 +0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 @@ -79,8 +79,8 @@ tally 3: 0.000000E+00 0.000000E+00 0.000000E+00 -7.691658E+03 -5.916160E+07 +0.000000E+00 +0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00