From 019316e18d5453c047e6047646e9af4177ea0aab Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 28 Jun 2021 14:38:51 -0500 Subject: [PATCH] Updating DAGMC history reset conditional for clarity. --- src/particle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/particle.cpp b/src/particle.cpp index 6acd989faa..ef5c3199ad 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -383,7 +383,7 @@ Particle::cross_surface() // if we're crossing a CSG surface, make sure the DAG history is reset #ifdef DAGMC - if (surf->geom_type_ != GeometryType::DAG) history().reset(); + if (surf->geom_type_ == GeometryType::CSG) history().reset(); #endif // Handle any applicable boundary conditions.