summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/source/limitera.scade2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/source/limitera.scade b/tests/source/limitera.scade
index 2b87278..9bfb6d2 100644
--- a/tests/source/limitera.scade
+++ b/tests/source/limitera.scade
@@ -4,7 +4,7 @@ node limiter(x: int; d: int) returns (probe y: int)
var s, r: int;
let
assume in_bounded: x >= -bound and x <= bound;
- assume d_bounded: d = 16;
+ assume d_bounded: d >= 0 and d <= 16;
guarantee out_bounded: y >= -bound and y <= bound;
s = 0 -> pre y;
r = x - s;