Skip to content

Commit 1088d53

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 15cfdeb commit 1088d53

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
@@ -49,7 +49,7 @@ for (int j = 0; j < height; j++) {
4949
float b = y;
5050
int n = 0;
5151
float max = 4.0; // Infinity in our finite world is simple, let's just consider it 4
52-
double absOld = 0.0;
52+
float absOld = 0.0;
5353
float convergeNumber = maxiterations; // this will change if the while loop breaks due to non-convergence
5454
while (n < maxiterations) {
5555
// We suppose z = a+ib

0 commit comments

Comments
 (0)