mirror of
https://github.com/powdr-labs/powdr.git
synced 2026-04-20 03:03:25 -04:00
Fix sum test.
This commit is contained in:
@@ -33,7 +33,7 @@ instr assert_zero X { XIsZero = 1 }
|
||||
CNT <=X= ${ ("input", 1) };
|
||||
|
||||
start::
|
||||
jmpz CNT, end;
|
||||
jmpz CNT, check;
|
||||
A <=X= A + ${ ("input", CNT + 1) };
|
||||
// Could use "CNT <=X= CNT - 1", but that would need X.
|
||||
dec_CNT;
|
||||
|
||||
Reference in New Issue
Block a user