From 8999d57461a80fba6866182cfd7695559cebc43b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 24 Nov 2015 15:26:37 +0800 Subject: [PATCH] examples/mandelbrot: fix variable initialization --- .../master/repository/coredevice_examples/simple/mandelbrot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/master/repository/coredevice_examples/simple/mandelbrot.py b/examples/master/repository/coredevice_examples/simple/mandelbrot.py index b03fa81d8..1bd8dabf7 100644 --- a/examples/master/repository/coredevice_examples/simple/mandelbrot.py +++ b/examples/master/repository/coredevice_examples/simple/mandelbrot.py @@ -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