Skip to content

Commit c365145

Browse files
committed
Fixup "Avoid boxing in Set[Int] within patmat analysis"
1 parent 6e027e9 commit c365145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/nsc/transform/patmat/Solving.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ trait Solving extends Logic {
466466
if (model ne NoTseitinModel) {
467467
// note that we should not expand the auxiliary variables (from Tseitin transformation)
468468
// since they are existentially quantified in the final solution
469-
val unassigned: List[Int] = relevantVars.iterator().filterNot(i => model.contains(i) || model.contains(-i)).toList
469+
val unassigned: List[Int] = relevantVars.iterator.filterNot(i => model.contains(i) || model.contains(-i)).toList
470470
debug.patmat("unassigned "+ unassigned +" in "+ model)
471471

472472
val solution = TseitinSolution(model, unassigned)

0 commit comments

Comments
 (0)