summaryrefslogtreecommitdiff
path: root/src/theory/arith/dio_solver.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-06-27 22:45:51 +0000
committerTim King <taking@cs.nyu.edu>2012-06-27 22:45:51 +0000
commit86eb789dfb6b79a964912ac8289c2ecb28628667 (patch)
tree48298f8e26711c40b2cb84fa7c18773de285ba58 /src/theory/arith/dio_solver.cpp
parentcde31cf615ccd7f8e090f1713022e5aeae31ccb5 (diff)
Fixing a bug in proof production for the DioSolver.
Diffstat (limited to 'src/theory/arith/dio_solver.cpp')
-rw-r--r--src/theory/arith/dio_solver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/arith/dio_solver.cpp b/src/theory/arith/dio_solver.cpp
index 093fef0d5..38cff88ff 100644
--- a/src/theory/arith/dio_solver.cpp
+++ b/src/theory/arith/dio_solver.cpp
@@ -213,10 +213,10 @@ Node DioSolver::proveIndex(TrailIndex i){
Node input = proofVariableToReason(v);
Assert(acceptableOriginalNodes(input));
if(input.getKind() == kind::AND){
- if(input.getNumChildren() != 2){
- Warning() << "Fix this bug!" << std::endl;
+ for(Node::iterator input_iter = input.begin(), input_end = input.end(); input_iter != input_end; ++input_iter){
+ Node inputChild = *input_iter;
+ nb << inputChild;
}
- nb << input[0] << input[1];
}else{
nb << input;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback