Skip to content

Commit f667a33

Browse files
authored
[PWGCF] FemtoUniverse: Fix bug (#14106)
1 parent 13f10de commit f667a33

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
@@ -910,7 +910,7 @@ class FemtoUniverseDetaDphiStar
910910
double afsi1b = deltaphiconstFD * magfield * charge2 * chosenRadii / part2.pt();
911911
double dphis = 0.0;
912912

913-
if (std::abs(afsi0b) < 1.0 && std::abs(afsi0b) < 1.0) {
913+
if (std::abs(afsi0b) < 1.0 && std::abs(afsi1b) < 1.0) {
914914
dphis = part2.phi() - part1.phi() + std::asin(afsi1b) - std::asin(afsi0b);
915915
}
916916
return dphis;

0 commit comments

Comments
 (0)