Skip to content

Commit e6c1d55

Browse files
committed
fix: repeated conditional
1 parent b3f491b commit e6c1d55

File tree

1 file changed

+2
-2
lines changed
  • common-tools/cnuphys/magfield/src/main/java/cnuphys/magfield/converter

1 file changed

+2
-2
lines changed

common-tools/cnuphys/magfield/src/main/java/cnuphys/magfield/converter/Converter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void done() {
196196
zIndex++;
197197
}
198198

199-
if ((gdata[PHI].max > 31) && (gdata[PHI].max > 31)) {
199+
if (gdata[PHI].max > 31) {
200200
System.err.println("Correcting PhiMax to 360 from " + gdata[PHI].max);
201201
}
202202

@@ -850,4 +850,4 @@ public static void memoryToGEMCTorusConverter() {
850850

851851
}
852852

853-
}
853+
}

0 commit comments

Comments
 (0)