Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SAT4J
sat4j
Commits
86250916
Commit
86250916
authored
Mar 02, 2022
by
Daniel Le Berre
Browse files
Added a comment and reverted "unnecessary tests".
parent
af5f63f9
Pipeline
#20024
passed with stages
in 46 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
org.sat4j.core/src/main/java/org/sat4j/DecisionMode.java
View file @
86250916
...
...
@@ -158,10 +158,15 @@ public final class DecisionMode implements ILauncherMode {
this
.
solver
=
(
ISolver
)
problem
;
try
{
// that call can change the value of this.exitCode
if
(
problem
.
isSatisfiable
())
{
this
.
exitCode
=
ExitCode
.
SATISFIABLE
;
if
(
this
.
exitCode
==
ExitCode
.
UNKNOWN
)
{
this
.
exitCode
=
ExitCode
.
SATISFIABLE
;
}
}
else
{
this
.
exitCode
=
ExitCode
.
UNSATISFIABLE
;
if
(
this
.
exitCode
==
ExitCode
.
UNKNOWN
)
{
this
.
exitCode
=
ExitCode
.
UNSATISFIABLE
;
}
}
}
catch
(
TimeoutException
e
)
{
logger
.
log
(
"timeout"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment