Skip to content

Commit 0d4107b

Browse files
committed
[Dana] Small tweak for slightly prettier output of percepton
1 parent 182dd72 commit 0d4107b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dana/programs/perceptron.dana

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ def main
127127
loop test_loop:
128128
if iter < example_size:
129129
writeInteger: predict(inputs[iter], weights, bias)
130-
writeChar: ' '
131130
iter := iter + 1
131+
if iter < example_size: writeChar: ' '
132132
else:
133133
break: test_loop
134134
writeChar: '\n'

0 commit comments

Comments
 (0)