summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r--src/theory/theory_engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index 587d3693c..e88d3323a 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -797,6 +797,7 @@ public:
* @returns the theory
*/
inline theory::Theory* theoryOf(theory::TheoryId theoryId) const {
+ Assert(theoryId < theory::THEORY_LAST);
return d_theoryTable[theoryId];
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback