We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea3b7e5 commit 944471eCopy full SHA for 944471e
1 file changed
src/particle.cpp
@@ -551,7 +551,7 @@ void Particle::cross_surface(const Surface& surf)
551
write_message(1, " Crossing surface {}", surf.id_);
552
}
553
// get the particle's current universe
554
- auto& univ {model::universes[coord(0).universe]};
+ auto& univ {model::universes[lowest_coord().universe]};
555
univ->cross_surface(*this);
556
557
0 commit comments