Skip to content

Commit 75797b1

Browse files
authored
in iterate_function, convert to dtype=complex64
1 parent e9bcc3e commit 75797b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fractals/julia_sets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def iterate_function(
8787
array([ 0, 1, 256])
8888
"""
8989

90-
z_n = z_0
90+
z_n = z_0.astype('complex64')
9191
for i in range(nb_iterations):
9292
z_n = eval_function(function_params, z_n)
9393
if infinity is not None:

0 commit comments

Comments
 (0)