projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84c4269
)
Added a warning to arithmetic for a known dio solver bug. Somehow the fix never made...
author
Tim King
<taking@cs.nyu.edu>
Mon, 25 Jun 2012 16:00:21 +0000
(16:00 +0000)
committer
Tim King
<taking@cs.nyu.edu>
Mon, 25 Jun 2012 16:00:21 +0000
(16:00 +0000)
src/theory/arith/dio_solver.cpp
patch
|
blob
|
history
diff --git
a/src/theory/arith/dio_solver.cpp
b/src/theory/arith/dio_solver.cpp
index 1ad6dd39582b5f9a8b676cb7cc28761dc7875a50..093fef0d5181a90e8900fa32b2b948af68fd43af 100644
(file)
--- a/
src/theory/arith/dio_solver.cpp
+++ b/
src/theory/arith/dio_solver.cpp
@@
-213,6
+213,9
@@
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;
+ }
nb << input[0] << input[1];
}else{
nb << input;