Skip to content
Merged
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
2 changes: 1 addition & 1 deletion sbncode/CAFMaker/FillTrue.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ namespace caf {
}

// Set the cryostat of the position
for (int icryo = 0; icryo < 2; icryo++) {
for (int icryo = 0; icryo < (int)active_volumes.size(); icryo++) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically it would be more correct to have icryo of index type (std::size_t) since its name suggest it being an index, and then converted in the assignment on line 604.
But I will let it pass; it's mostly to prove that I can make a comment also to a one-liner.

if (active_volumes[icryo].ContainsPosition(nu.Nu().Position().Vect())) {
srneutrino.cryostat = icryo;
break;
Expand Down