Skip to content

Commit

Permalink
Fixes a forgotten piece of code for the unit tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
lesquoyb committed May 16, 2024
1 parent 1aebdc6 commit a913242
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public static Integer fuzzyChoquetDecisionMaking(final IScope scope, final IList
if (cands == null || cands.isEmpty()) { return -1; }
final Map<String, Double> critWeight = new HashMap<>();
final Map<Set<String>, Double> weight = new HashMap<>();
for (final Object o : criteriaWeights.entrySet()) {
for (final Object o : criteriaWeights.keySet()) {
final Set<String> key = new LinkedHashSet<>((List) o);
final Double val = Cast.asFloat(scope, criteriaWeights.get(o));
if (key.size() == 1) {
Expand Down

0 comments on commit a913242

Please sign in to comment.