Skip to content

Commit 2ad258d

Browse files
authored
[PWGCF] FemtoUniverse: Fix bug in badpoint fraction calculation (#15550)
1 parent b84603d commit 2ad258d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGCF/FemtoUniverse/Core/FemtoUniverseDetaDphiStar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ class FemtoUniverseDetaDphiStar
877877
badpoints++;
878878
}
879879
}
880-
return badpoints / entries;
880+
return (static_cast<float>(badpoints) / static_cast<float>(entries));
881881
}
882882

883883
// Get particle charge from mask

0 commit comments

Comments
 (0)