From 5358f8ddc998b59c95a400e9a6011b900a1f0c7f Mon Sep 17 00:00:00 2001 From: Abhijay Kumar Date: Thu, 23 May 2019 00:21:14 +0530 Subject: [PATCH] Added space after typecast expression Co-Authored-By: Libin Yang --- src/main/java/com/generation/SimplexNoise.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/generation/SimplexNoise.java b/src/main/java/com/generation/SimplexNoise.java index 485a55b2..50abd399 100644 --- a/src/main/java/com/generation/SimplexNoise.java +++ b/src/main/java/com/generation/SimplexNoise.java @@ -36,7 +36,7 @@ public class SimplexNoise { this.octaves[index] = new SimplexNoiseOctave(random.nextInt()); this.frequencys[index] = Math.pow(2, index); - this.amplitudes[index] = Math.pow(persistence, (double)octaveCount - index); + this.amplitudes[index] = Math.pow(persistence, (double) octaveCount - index); } }