Skip to content

Commit bc9f417

Browse files
author
Changhwan Choi
committed
MegaLinter resolved
1 parent 1515475 commit bc9f417

File tree

2 files changed

+35
-186
lines changed

2 files changed

+35
-186
lines changed

PWGJE/Core/MlResponseHfTagging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class MlResponseHfTagging : public MlResponse<TypeOutputScore>
209209
static int replaceNaN(std::vector<T>& vec, T value)
210210
{
211211
int numNaN = 0;
212-
for (auto& el : vec) {
212+
for (auto& el : vec) { // o2-linter: disable=const-ref-in-for-loop
213213
if (std::isnan(el) || std::isinf(el)) {
214214
el = value;
215215
++numNaN;

0 commit comments

Comments
 (0)