Skip to content

Commit 15cfdeb

Browse files
l8lshiffman
andauthored
Update content/examples/Topics/Fractals and L-Systems/Mandelbrot/Mandelbrot.pde
Co-Authored-By: Daniel Shiffman <daniel.shiffman@gmail.com>
1 parent 0707643 commit 15cfdeb

File tree

1 file changed

+1
-1
lines changed
  • content/examples/Topics/Fractals and L-Systems/Mandelbrot

1 file changed

+1
-1
lines changed

content/examples/Topics/Fractals and L-Systems/Mandelbrot/Mandelbrot.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ for (int j = 0; j < height; j++) {
4848
float a = x;
4949
float b = y;
5050
int n = 0;
51-
double max = 4.0; // Infinty in our finite world is simple, let's just consider it 4
51+
float max = 4.0; // Infinity in our finite world is simple, let's just consider it 4
5252
double absOld = 0.0;
5353
float convergeNumber = maxiterations; // this will change if the while loop breaks due to non-convergence
5454
while (n < maxiterations) {

0 commit comments

Comments
 (0)