Skip to content

Commit

Permalink
fix: front() -> at(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks authored Aug 30, 2023
1 parent 4803391 commit 25a72cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/pid/ParticlesWithPID.cc
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ namespace eicrecon {
}
in_part.addToParticleIDs(out_pid);
}
in_part.setParticleIDUsed(in_part.getParticleIDs().front()); // highest likelihood is the first
in_part.setParticleIDUsed(in_part.getParticleIDs().at(0)); // highest likelihood is the first
in_part.setGoodnessOfPID(1); // FIXME: not used yet, aside from 0=noPID vs 1=hasPID

// trace logging
Expand Down

0 comments on commit 25a72cb

Please sign in to comment.