diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-11-26 17:40:31 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-11-26 17:40:31 +0000 |
commit | 78f459b303ed292a297a36cd0c435fdd025b0865 (patch) | |
tree | 80be491bc4525d70d599fbd72869dd592f70d56a /src/theory/logic_info.cpp | |
parent | c3ca3d8c58cc9954f8ad190e1e2dedbcbb5372f0 (diff) |
fixup for incremental solving
Diffstat (limited to 'src/theory/logic_info.cpp')
-rw-r--r-- | src/theory/logic_info.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/theory/logic_info.cpp b/src/theory/logic_info.cpp index e76e2ace9..f90bee19d 100644 --- a/src/theory/logic_info.cpp +++ b/src/theory/logic_info.cpp @@ -31,7 +31,7 @@ namespace CVC4 { LogicInfo::LogicInfo() : d_logicString(""), - d_theories(), + d_theories(THEORY_LAST, false), d_sharingTheories(0), d_integers(true), d_reals(true), @@ -40,14 +40,13 @@ LogicInfo::LogicInfo() : d_locked(false) { for(TheoryId id = THEORY_FIRST; id < THEORY_LAST; ++id) { - d_theories[id] = false;// ensure it's cleared enableTheory(id); } } LogicInfo::LogicInfo(std::string logicString) throw(IllegalArgumentException) : d_logicString(""), - d_theories(), + d_theories(THEORY_LAST, false), d_sharingTheories(0), d_integers(false), d_reals(false), @@ -61,7 +60,7 @@ LogicInfo::LogicInfo(std::string logicString) throw(IllegalArgumentException) : LogicInfo::LogicInfo(const char* logicString) throw(IllegalArgumentException) : d_logicString(""), - d_theories(), + d_theories(THEORY_LAST, false), d_sharingTheories(0), d_integers(false), d_reals(false), |