summaryrefslogtreecommitdiffstats
path: root/src/sat/glucose/Glucose.cpp
diff options
context:
space:
mode:
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++;
}