diff options
Diffstat (limited to 'tests/source/limitera.scade')
-rw-r--r-- | tests/source/limitera.scade | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/source/limitera.scade b/tests/source/limitera.scade index 1e4927e..e6db4e2 100644 --- a/tests/source/limitera.scade +++ b/tests/source/limitera.scade @@ -20,7 +20,7 @@ node limiter(x: int; d: int) returns (probe y: int) node test(i: int) returns(a, b, c: int; exit: bool) let exit = i >= 30; - a = (i * 21 + 122) mod (2 * bound) - bound; -- not really random + a = (i * 21 + 122) mod (2 * bound + 1) - bound; -- not really random b = 16; c = limiter(a, b); tel |