Skip to content

Commit 7994464

Browse files
committed
Update Glucose interface
1 parent 96af9f3 commit 7994464

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/config.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ BUILD_ENV = AUTO
55
ifeq ($(BUILD_ENV),MSVC)
66
#CXXFLAGS += /Wall /WX
77
else
8-
CXXFLAGS += -Wall -pedantic -Werror
8+
CXXFLAGS += -Wall -Werror -Wno-parentheses
99
endif
1010

1111
# Select optimisation or debug info

src/solvers/sat/satcheck_glucose.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void satcheck_glucose_baset<T>::lcnf(const bvt &bv)
115115
template<typename T>
116116
propt::resultt satcheck_glucose_baset<T>::prop_solve()
117117
{
118-
assert(status!=ERROR);
118+
assert(status!=statust::ERROR);
119119

120120
// We start counting at 1, thus there is one variable fewer.
121121
{
@@ -155,8 +155,8 @@ propt::resultt satcheck_glucose_baset<T>::prop_solve()
155155
messaget::status() <<
156156
"SAT checker: instance is SATISFIABLE" << eom;
157157
assert(solver->model.size()!=0);
158-
status=SAT;
159-
return P_SATISFIABLE;
158+
status=statust::SAT;
159+
return resultt::P_SATISFIABLE;
160160
}
161161
else
162162
{
@@ -166,8 +166,8 @@ propt::resultt satcheck_glucose_baset<T>::prop_solve()
166166
}
167167
}
168168

169-
status=UNSAT;
170-
return P_UNSATISFIABLE;
169+
status=statust::UNSAT;
170+
return resultt::P_UNSATISFIABLE;
171171
}
172172

173173
template<typename T>

0 commit comments

Comments
 (0)