From 7478368f1701c329be06b0419c10dce6b640f997 Mon Sep 17 00:00:00 2001 From: chick Date: Sun, 25 Sep 2016 18:18:56 -0700 Subject: Anonymous function convertible to a method value --- src/main/scala/firrtl/passes/PadWidths.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/scala/firrtl/passes/PadWidths.scala b/src/main/scala/firrtl/passes/PadWidths.scala index 9f1d906c..f930307c 100644 --- a/src/main/scala/firrtl/passes/PadWidths.scala +++ b/src/main/scala/firrtl/passes/PadWidths.scala @@ -39,7 +39,7 @@ object PadWidths extends Pass { case Lt | Leq | Gt | Geq | Eq | Neq | Not | And | Or | Xor | Add | Sub | Mul | Div | Rem | Shr => // sensitive ops - e map fixup((e.args map width _ foldLeft 0)(math.max)) + e map fixup((e.args map width foldLeft 0)(math.max)) case Dshl => // special case as args aren't all same width e copy (op = Dshlw, args = Seq(fixup(width(e.tpe))(e.args.head), e.args(1))) -- cgit v1.2.3