summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/mandel.bth4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mandel.bth b/tests/mandel.bth
index 5eb3fcd..ffe49c7 100644
--- a/tests/mandel.bth
+++ b/tests/mandel.bth
@@ -13,8 +13,8 @@
(set nzim (+ cim (* 2 (* zre zim))))
(set zre nzre)
(set zim nzim)
- (set i (+ i 1)))
- (set mag (+ (* zre zre) (* zim zim)))
+ (set mag (+ (* zre zre) (* zim zim)))
+ (set i (if (< mag 4) (+ i 1) 999)))
(print (if (< mag 4) "#" "."))
(set pxx (+ pxx 1)))
(puts "")