Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SAT4J
sat4j
Commits
0f34a5c0
Commit
0f34a5c0
authored
Jul 02, 2020
by
Romain Wallon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another fix for Java 8
parent
d89b7c94
Pipeline
#8971
passed with stages
in 181 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
org.sat4j.pb/src/main/java/org/sat4j/pb/constraints/pb/ConflictMapMinimizeWeakening.java
...sat4j/pb/constraints/pb/ConflictMapMinimizeWeakening.java
+1
-3
No files found.
org.sat4j.pb/src/main/java/org/sat4j/pb/constraints/pb/ConflictMapMinimizeWeakening.java
View file @
0f34a5c0
...
...
@@ -32,7 +32,6 @@ package org.sat4j.pb.constraints.pb;
import
java.math.BigInteger
;
import
java.util.Map
;
import
java.util.NoSuchElementException
;
import
java.util.TreeMap
;
import
org.sat4j.core.VecInt
;
...
...
@@ -130,8 +129,7 @@ public class ConflictMapMinimizeWeakening extends ConflictMap {
}
}
}
IVecInt
vec
=
map
.
entrySet
().
stream
().
findFirst
()
.
orElseThrow
(
NoSuchElementException:
:
new
).
getValue
();
IVecInt
vec
=
map
.
entrySet
().
stream
().
findFirst
().
get
().
getValue
();
int
lit
=
vec
.
last
();
vec
.
pop
();
return
lit
;
...
...
Write
Preview
Markdown
is supported
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