diff --git a/src/simulation.cpp b/src/simulation.cpp index 3c859f980..cef86caa6 100644 --- a/src/simulation.cpp +++ b/src/simulation.cpp @@ -203,6 +203,11 @@ void process_calculate_xs_events(QueueItem * queue, int n) p->E_last_ = p->E_; p->u_last_ = p->u(); p->r_last_ = p->r(); + + // Reset event variables + p->event_ = EVENT_KILL; + p->event_nuclide_ = NUCLIDE_NONE; + p->event_mt_ = REACTION_NONE; // If the cell hasn't been determined based on the particle's location, // initiate a search for the current cell. This generally happens at the diff --git a/tests/regression_tests/photon_production/inputs_true.dat b/tests/regression_tests/photon_production/inputs_true.dat index 55748cf61..1821bea92 100644 --- a/tests/regression_tests/photon_production/inputs_true.dat +++ b/tests/regression_tests/photon_production/inputs_true.dat @@ -34,7 +34,6 @@ 1000.0 - 10 diff --git a/tests/regression_tests/photon_production/test.py b/tests/regression_tests/photon_production/test.py index eebb65bac..72fdafb41 100644 --- a/tests/regression_tests/photon_production/test.py +++ b/tests/regression_tests/photon_production/test.py @@ -44,7 +44,6 @@ class SourceTestHarness(PyAPITestHarness): settings.electron_treatment = 'ttb' settings.cutoff = {'energy_photon' : 1000.0} settings.source = source - settings.verbosity = 10 settings.export_to_xml() surface_filter = openmc.SurfaceFilter(cyl)