Skip to content

Commit 30013c9

Browse files
amaringarciaAna Marin
andauthored
[Common] passing the vectors by value and not by reference, bug fix (#11990)
Co-authored-by: Ana Marin <marin@lxbk0905.gsi.de>
1 parent a285051 commit 30013c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/TableProducer/PID/pidTPCBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ typedef struct Str_dEdx_correction {
8585
fMatrix.SetMatrixArray(elements);
8686
}
8787

88-
float fReal_fTPCSignalN(std::vector<float>& vec1, std::vector<float>& vec2)
88+
float fReal_fTPCSignalN(std::vector<float> vec1, std::vector<float> vec2)
8989
{
9090
float result = 0.f;
9191
// push 1.

0 commit comments

Comments
 (0)