aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/route/router2.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/route/router2.cc b/common/route/router2.cc
index 1153f054..d054c9ef 100644
--- a/common/route/router2.cc
+++ b/common/route/router2.cc
@@ -373,8 +373,7 @@ struct Router2
return base_cost * hist_cost * present_cost / (1 + (source_uses * crit_weight)) + bias_cost;
}
- float get_togo_cost(NetInfo *net, store_index<PortRef> user, int wire, WireId src_sink, float crit_weight,
- bool bwd = false)
+ float get_togo_cost(NetInfo *net, store_index<PortRef> user, int wire, WireId src_sink, bool bwd, float crit_weight)
{
auto &nd = nets.at(net->udata);
auto &wd = flat_wires[wire];