summaryrefslogtreecommitdiffstats
path: root/src/sat/glucose/Glucose.cpp
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-09-06 19:56:53 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2017-09-06 19:56:53 -0700
commit97dd6019bf58f12953364855dd7845e6e47eae57 (patch)
treecd5161a4da69f9e489781d86e68b9685f4616fc7 /src/sat/glucose/Glucose.cpp
parentb1bf802fdab9cd0e4676987d17a8d940e1b0cc3b (diff)
downloadabc-97dd6019bf58f12953364855dd7845e6e47eae57.tar.gz
abc-97dd6019bf58f12953364855dd7845e6e47eae57.tar.bz2
abc-97dd6019bf58f12953364855dd7845e6e47eae57.zip
Integrating Glucose into bmc3 -g.
Diffstat (limited to 'src/sat/glucose/Glucose.cpp')
-rw-r--r--src/sat/glucose/Glucose.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sat/glucose/Glucose.cpp b/src/sat/glucose/Glucose.cpp
index caf33875..a66c323c 100644
--- a/src/sat/glucose/Glucose.cpp
+++ b/src/sat/glucose/Glucose.cpp
@@ -1250,6 +1250,7 @@ printf("c ==================================[ Search Statistics (every %6d confl
while (status == l_Undef){
status = search(0); // the parameter is useless in glucose, kept to allow modifications
if (!withinBudget() || terminate_search_early || (pstop && *pstop)) break;
+ if (nRuntimeLimit && Abc_Clock() > nRuntimeLimit) break;
curr_restarts++;
}