mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
examples/mandelbrot: fix variable initialization
This commit is contained in:
parent
c14299dca8
commit
8999d57461
@ -32,6 +32,7 @@ class Mandelbrot(EnvExperiment):
|
||||
c_i = y*yScale/height-yScale/2
|
||||
z_r = c_r
|
||||
z_i = c_i
|
||||
i = 0
|
||||
for i in range(16):
|
||||
if z_r*z_r + z_i*z_i > 4:
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user