Skip to content

Commit add24dc

Browse files
authored
remove unnecessary check (#1250)
1 parent 8239f7e commit add24dc

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • common-tools/cnuphys/magfield/src/main/java/cnuphys/magfield

common-tools/cnuphys/magfield/src/main/java/cnuphys/magfield/Cell3D.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,9 @@ private boolean reset(double q1, double q2, double q3) {
7171
for (int k = 0; k < 2; k++) {
7272
int nn3 = _n3 + k;
7373
int index = _probe.getCompositeIndex(nn1, nn2, nn3);
74-
75-
if (index < 0) {
76-
System.out.println();
77-
}
7874
c[i][j][k][0] = _probe.getB1(index);
7975
c[i][j][k][1] = _probe.getB2(index);
8076
c[i][j][k][2] = _probe.getB3(index);
81-
8277
}
8378
}
8479
}

0 commit comments

Comments
 (0)