Skip to content

Commit

Permalink
take out a duplicated if block
Browse files Browse the repository at this point in the history
  • Loading branch information
Shima Shimizu authored and krasznaa committed Apr 11, 2024
1 parent 5a34b92 commit 43140e9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/include/traccc/finding/finding_algorithm.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,6 @@ finding_algorithm<stepper_t, navigator_t>::operator()(
std::tie(s0, s1, s2, s3, s4, s5));
*/

if (step - skip_counter ==
m_cfg.max_track_candidates_per_track - 1) {
tips.push_back({step, cur_link_id});
break;
// exit from item_id loop
}

// If a surface found, add the parameter for the next
// step
if (s4.success) {
Expand Down

0 comments on commit 43140e9

Please sign in to comment.