Skip to content

Commit 97f429d

Browse files
committed
fix ref
1 parent b6354ec commit 97f429d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/TableProducer/Nuspex/ebyeMaker.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,11 +532,11 @@ struct ebyeMaker {
532532
auto fv0c = fv0cs.rawIteratorAt(id);
533533
float multFV0A = 0;
534534
float multFV0C = 0;
535-
for (const float amplitude : fv0a.amplitude()) {
535+
for (const float& amplitude : fv0a.amplitude()) {
536536
multFV0A += amplitude;
537537
}
538538

539-
for (const float amplitude : fv0c.amplitude()) {
539+
for (const float& amplitude : fv0c.amplitude()) {
540540
multFV0C += amplitude;
541541
}
542542

0 commit comments

Comments
 (0)