projects
/
satune.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding checks to avoid further processing on UNSAT Problems
[satune.git]
/
src
/
ASTAnalyses
/
Polarity
/
polarityassignment.cc
diff --git
a/src/ASTAnalyses/Polarity/polarityassignment.cc
b/src/ASTAnalyses/Polarity/polarityassignment.cc
index 4a772ee87839187cca95aa9e1acd4bf6c1f03d04..b8b01d0e6a4b99f769a4df47d7fa734c044a5f10 100644
(file)
--- a/
src/ASTAnalyses/Polarity/polarityassignment.cc
+++ b/
src/ASTAnalyses/Polarity/polarityassignment.cc
@@
-2,6
+2,9
@@
#include "csolver.h"
void computePolarities(CSolver *This) {
+ if(This->isUnSAT()){
+ return;
+ }
SetIteratorBooleanEdge *iterator = This->getConstraints();
while (iterator->hasNext()) {
BooleanEdge boolean = iterator->next();