2
0
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:
Sebastien Bourdeauducq 2015-11-24 15:26:37 +08:00
parent c14299dca8
commit 8999d57461

View File

@ -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