Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Detray/tests/include/detray/test/utils/perigee_stopper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ struct perigee_stopper : public base_actor {

// At least the exit portal should be reachable
if (navigation.cache_exhausted()) {
prop_state._heartbeat =
prop_state._heartbeat &&
navigation.abort("Pergigee stopper has no next candidate");
navigation.abort("Pergigee stopper has no next candidate");
prop_state.heartbeat(false);
return;
}

Expand Down Expand Up @@ -112,7 +111,8 @@ struct perigee_stopper : public base_actor {

// The track has reached the perigee: "exit success"
if (math::fabs(perigee_intr.path()) <= actor_state.m_on_perigee_tol) {
prop_state._heartbeat = prop_state._heartbeat && navigation.exit();
navigation.exit();
prop_state.heartbeat(false);
} else {
// @TODO: Use a guided navigator for this in order to catch
// overstepping correctly
Expand Down
Loading