From 81a6eab0458f869be6fead27782ee3e5c26b6742 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 25 Feb 2020 09:47:39 +0100 Subject: amend me --- src/fractals/julia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fractals/julia.c') diff --git a/src/fractals/julia.c b/src/fractals/julia.c index 136cf13..8474bb8 100644 --- a/src/fractals/julia.c +++ b/src/fractals/julia.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/24 15:17:38 by cacharle #+# #+# */ -/* Updated: 2020/02/24 16:06:57 by cacharle ### ########.fr */ +/* Updated: 2020/02/25 07:33:43 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -26,7 +26,7 @@ int julia(t_state *state, t_complex z) zr = z.r; zi = z.i; n = -1; - while (++n < JULIA_MAX_ITERATION) + while (++n < state->iterations) { zi_square = zi * zi; zr_square = zr * zr; -- cgit