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
49455f0b
Commit
49455f0b
authored
Nov 18, 2021
by
Romain Wallon
Browse files
Fixes the weakened literal given to the PBSearchListener.
parent
3610d72b
Pipeline
#17493
passed with stages
in 47 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
org.sat4j.pb/src/main/java/org/sat4j/pb/constraints/pb/ConflictMapDivideByPivot.java
View file @
49455f0b
...
...
@@ -238,7 +238,7 @@ public class ConflictMapDivideByPivot extends ConflictMap {
coeffImplied
);
reducedCoefs
[
i
]
=
tmp
[
0
];
listener
.
weakenOnReason
(
tmp
[
1
],
LiteralsUtils
.
toDimacs
(
w
eightedLits
.
getLi
t
(
i
)));
LiteralsUtils
.
toDimacs
(
w
pb
.
ge
t
(
i
)));
outputDegree
=
outputDegree
.
subtract
(
tmp
[
1
]);
}
}
...
...
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