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
febe5b72
Commit
febe5b72
authored
Nov 11, 2018
by
Daniel Le Berre
Browse files
Fix for sonarqube violation.
parent
8f9449d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.sat4j.pb/src/main/java/org/sat4j/pb/tools/PreprocCardConstrLearningSolver.java
View file @
febe5b72
...
@@ -132,8 +132,9 @@ public class PreprocCardConstrLearningSolver<S extends IPBSolver>
...
@@ -132,8 +132,9 @@ public class PreprocCardConstrLearningSolver<S extends IPBSolver>
newMinBound
=
newMinBound
.
add
(
weights
.
get
(
i
));
newMinBound
=
newMinBound
.
add
(
weights
.
get
(
i
));
}
}
if
(
this
.
objMinBound
==
null
if
(
this
.
objMinBound
==
null
||
this
.
objMinBound
.
compareTo
(
newMinBound
)
==
-
1
)
||
this
.
objMinBound
.
compareTo
(
newMinBound
)
<
0
)
{
this
.
objMinBound
=
newMinBound
;
this
.
objMinBound
=
newMinBound
;
}
}
}
private
void
rissPreprocessing
()
{
private
void
rissPreprocessing
()
{
...
...
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