Skip to content

Commit 5358f8d

Browse files
abhijay94yanglbme
andauthored
Added space after typecast expression
Co-Authored-By: Libin Yang <[email protected]>
1 parent b6772c5 commit 5358f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/generation/SimplexNoise.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public SimplexNoise(int largestFeature, double persistence, long seed) {
3636

3737
this.octaves[index] = new SimplexNoiseOctave(random.nextInt());
3838
this.frequencys[index] = Math.pow(2, index);
39-
this.amplitudes[index] = Math.pow(persistence, (double)octaveCount - index);
39+
this.amplitudes[index] = Math.pow(persistence, (double) octaveCount - index);
4040
}
4141
}
4242

0 commit comments

Comments
 (0)