projects
/
satune.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f814e58
)
BUG FIX:Timeout getting stuck bug
author
Hamed Gorjiara
<hgorjiar@uci.edu>
Tue, 15 Oct 2019 18:55:46 +0000
(11:55 -0700)
committer
Hamed Gorjiara
<hgorjiar@uci.edu>
Tue, 15 Oct 2019 18:55:46 +0000
(11:55 -0700)
src/Backend/inc_solver.cc
patch
|
blob
|
history
diff --git
a/src/Backend/inc_solver.cc
b/src/Backend/inc_solver.cc
index a89ed8b86de8af3d7724bd21a265249af290dbd7..de88f1937b8a2da76a3c4308f0ebe470a3d8e19e 100644
(file)
--- a/
src/Backend/inc_solver.cc
+++ b/
src/Backend/inc_solver.cc
@@
-102,6
+102,8
@@
int getSolution(IncrementalSolver *This) {
}
readSolver(This, &This->solution[1], numVars * sizeof(int));
This->solutionsize = numVars;
+ } else if (result == IS_INDETER){
+ return result;
} else {//Reading unsat explanation
int numVars = readIntSolver(This);
if (numVars > This->solutionsize) {