summaryrefslogtreecommitdiff
path: root/src/smt/set_defaults.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/set_defaults.cpp')
-rw-r--r--src/smt/set_defaults.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smt/set_defaults.cpp b/src/smt/set_defaults.cpp
index 4ce4b8db8..11751079e 100644
--- a/src/smt/set_defaults.cpp
+++ b/src/smt/set_defaults.cpp
@@ -154,7 +154,7 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
logic.lock();
}
- if (options::solveBVAsInt() > 0)
+ if (options::solveBVAsInt() != options::SolveBVAsIntMode::OFF)
{
// not compatible with incremental
if (options::incrementalSolving())
@@ -168,7 +168,7 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
throw OptionException(
"solving bitvectors as integers is incompatible with --bool-to-bv.");
}
- if (options::solveBVAsInt() > 8)
+ if (options::BVAndIntegerGranularity() > 8)
{
/**
* The granularity sets the size of the ITE in each element
@@ -382,7 +382,7 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic)
}
- if (options::solveBVAsInt() > 0)
+ if (options::solveBVAsInt() != options::SolveBVAsIntMode::OFF)
{
/**
* Operations on 1 bits are better handled as Boolean operations
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback