summaryrefslogtreecommitdiff
path: root/test/regress/regress0
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-10-28 15:17:05 -0500
committerGitHub <noreply@github.com>2020-10-28 15:17:05 -0500
commiteb812afac2884131b21948aee3da9d8c1e92ba98 (patch)
tree86833576ff15aeafb135a0f186fa4333e160d2fb /test/regress/regress0
parent3ed42d7aba07db5801cf8245890035192aa06b15 (diff)
Fixes for unconstrained variables in nonlinear model (#5351)
This ensures that we explicitly mark x -> 0 as part of the arithmetic model coming from nonlinear for unconstrained variables x that nonlinear extension assumes to be 0. This fixes #5348.
Diffstat (limited to 'test/regress/regress0')
-rw-r--r--test/regress/regress0/nl/iand-no-init.smt25
1 files changed, 5 insertions, 0 deletions
diff --git a/test/regress/regress0/nl/iand-no-init.smt2 b/test/regress/regress0/nl/iand-no-init.smt2
new file mode 100644
index 000000000..f73703693
--- /dev/null
+++ b/test/regress/regress0/nl/iand-no-init.smt2
@@ -0,0 +1,5 @@
+(set-logic ALL)
+(set-info :status sat)
+(declare-fun y () Int)
+(assert (= 0 ((_ iand 5) y 1)))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback