Skip to content

Commit 95174f2

Browse files
committed
fix lambda capture
1 parent cc520b5 commit 95174f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PWGCF/TwoParticleCorrelations/Tasks/twoParticleCorrelationsMpi.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ struct TwoParticleCorrelationsMpi {
336336
const float threshold = 1.e-6;
337337
if (configuredEdges.size() != expectedEdges.size() ||
338338
!std::equal(configuredEdges.begin(), configuredEdges.end(), expectedEdges.begin(),
339-
[](double lhs, double rhs) { return std::abs(lhs - rhs) < threshold; })) {
339+
[&threshold](double lhs, double rhs) { return std::abs(lhs - rhs) < threshold; })) {
340340
LOGF(fatal, "Percentile-class Seed axis requires axisUser edges {-1.5,-0.5,0.5,1.5,2.5}");
341341
}
342342
}

0 commit comments

Comments
 (0)