Skip to content

Commit

Permalink
java 11 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Milner committed Jun 27, 2024
1 parent 9546571 commit c1f5a55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private double[] getRandStrikes(int num, Range<Double> strikeRange) {
Random rand = getRand();
if (strikeRange == null) {
// pick a random strike as the initial orientation, then evenly space relatively to that
double origStrike = rand.nextDouble(360d);
double origStrike = rand.nextDouble()*360d;
double delta = 360d/(double)num;
for (int i=0; i<num; i++)
strikes[i] = origStrike + i*delta;
Expand Down

0 comments on commit c1f5a55

Please sign in to comment.