Skip to content

Commit

Permalink
Fix the propagator_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
beomki-yeo committed Oct 3, 2024
1 parent 009853d commit 536e370
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/include/detray/propagator/propagator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ struct propagator {

// If the track is on a sensitive surface, break the loop to
// synchornize the threads
if (propagation._navigation.is_on_sensitive()) {
if (propagation._navigation.is_on_sensitive() ||
propagation._navigation.encountered_sf_material()) {
break;
} else {
run_actors(actor_state_refs, propagation);
Expand Down

0 comments on commit 536e370

Please sign in to comment.