Skip to content

Commit d690fee

Browse files
committed
performance-unnecessary-copy-initialization
1 parent 2c9b55c commit d690fee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/Core/VarManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,7 @@ void VarManager::FillPropagateMuon(const T& muon, const C& collision, float* val
18541854
values[kMuonRAtAbsorberEnd] = std::sqrt(xAbs * xAbs + yAbs * yAbs);
18551855
}
18561856

1857-
SMatrix55 cov = propmuon.getCovariances();
1857+
const SMatrix55& cov = propmuon.getCovariances();
18581858
values[kMuonCXX] = cov(0, 0);
18591859
values[kMuonCXY] = cov(1, 0);
18601860
values[kMuonCYY] = cov(1, 1);

0 commit comments

Comments
 (0)