Updating DAGMC history reset conditional for clarity.

This commit is contained in:
Patrick Shriwise 2021-06-28 14:38:51 -05:00
parent e6ce90dd78
commit 019316e18d

View file

@ -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.