aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/passes/InferWidths.scala
diff options
context:
space:
mode:
authorchick2016-09-25 18:23:07 -0700
committerjackkoenig2016-09-27 13:14:58 -0700
commit3f8e1536ff2f4b5090cd2c074ada5d7a413d169f (patch)
treec327771170e4438661b4d654e93960b92b31b023 /src/main/scala/firrtl/passes/InferWidths.scala
parent39f06c4cff41030e7802c7b371123e040d9c447b (diff)
remove unnecessary parentheses
Diffstat (limited to 'src/main/scala/firrtl/passes/InferWidths.scala')
-rw-r--r--src/main/scala/firrtl/passes/InferWidths.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/passes/InferWidths.scala b/src/main/scala/firrtl/passes/InferWidths.scala
index bf1f53b4..50455283 100644
--- a/src/main/scala/firrtl/passes/InferWidths.scala
+++ b/src/main/scala/firrtl/passes/InferWidths.scala
@@ -80,7 +80,7 @@ object InferWidths extends Pass {
//;println-all-debug(["Substituting for [" w "]"])
val wx = simplify(w)
//;println-all-debug(["After Simplify: [" wx "]"])
- (wx map substitute(h)) match {
+ wx map substitute(h) match {
//;("matched println-debugvarwidth!")
case w: VarWidth => h get w.name match {
case None => w
@@ -106,7 +106,7 @@ object InferWidths extends Pass {
def remove_cycle(n: String)(w: Width): Width = {
//;println-all-debug(["Removing cycle for " n " inside " w])
- (w map remove_cycle(n)) match {
+ w map remove_cycle(n) match {
case w: MaxWidth => MaxWidth(w.args filter {
case w: VarWidth => !(n equals w.name)
case w => true