aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorchick2016-09-25 18:18:56 -0700
committerjackkoenig2016-09-27 13:06:52 -0700
commit7478368f1701c329be06b0419c10dce6b640f997 (patch)
tree14e03c8ddf1589966b7cc726e59e68047be5aab8 /src
parenta2ad26d6b907b251a916c23a3fe93e1d0067fb03 (diff)
Anonymous function convertible to a method value
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/firrtl/passes/PadWidths.scala2
1 files changed, 1 insertions, 1 deletions
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)))