summaryrefslogtreecommitdiff
path: root/test/regress/regress0/nl
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-01-30 03:32:47 -0600
committerGitHub <noreply@github.com>2020-01-30 01:32:47 -0800
commit13ef9140d1ba6740ccb2c1f29bd2d243de6872c2 (patch)
tree1626d5979182f94f12c9fc28a4a9046edb5d1304 /test/regress/regress0/nl
parente3361a428a1b24369d782120de1f050874a8ac44 (diff)
Do not debug check model for models with approximations (#3673)
We don't run check-model for models with approximate values, however we were still running the internal debugCheckModel method, which leads to assertion failures. This disables this check. Fixes #3652.
Diffstat (limited to 'test/regress/regress0/nl')
-rw-r--r--test/regress/regress0/nl/issue3652.smt27
1 files changed, 7 insertions, 0 deletions
diff --git a/test/regress/regress0/nl/issue3652.smt2 b/test/regress/regress0/nl/issue3652.smt2
new file mode 100644
index 000000000..f3429b73d
--- /dev/null
+++ b/test/regress/regress0/nl/issue3652.smt2
@@ -0,0 +1,7 @@
+;COMMAND-LINE: --check-models
+;EXIT: 1
+;EXPECT: (error "Cannot run check-model on a model with approximate values.")
+(set-logic QF_NRA)
+(declare-fun a () Real)
+(assert (= (* a a) 2))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback