From 66c97a25792183d797e4982a61ae23f7a80ac863 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Tue, 6 Jul 2021 20:02:27 -0700 Subject: [PATCH] check cap/slew/fanout pocv compile issue --- search/CheckCapacitanceLimits.cc | 2 +- search/CheckFanoutLimits.cc | 2 +- search/CheckSlewLimits.cc | 2 +- test/regression.tcl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/search/CheckCapacitanceLimits.cc b/search/CheckCapacitanceLimits.cc index 945dd564..1aae1230 100644 --- a/search/CheckCapacitanceLimits.cc +++ b/search/CheckCapacitanceLimits.cc @@ -233,7 +233,7 @@ CheckCapacitanceLimits::checkCapacitanceLimits(Net *net, { const Network *network = sta_->network(); PinSeq *cap_pins = new PinSeq; - Slack min_slack = MinMax::min()->initValue(); + float min_slack = MinMax::min()->initValue(); if (net) { NetPinIterator *pin_iter = network->pinIterator(net); while (pin_iter->hasNext()) { diff --git a/search/CheckFanoutLimits.cc b/search/CheckFanoutLimits.cc index 78d470ae..74270e4c 100644 --- a/search/CheckFanoutLimits.cc +++ b/search/CheckFanoutLimits.cc @@ -211,7 +211,7 @@ CheckFanoutLimits::checkFanoutLimits(Net *net, { const Network *network = sta_->network(); PinSeq *fanout_pins = new PinSeq; - Slack min_slack = MinMax::min()->initValue(); + float min_slack = MinMax::min()->initValue(); if (net) { NetPinIterator *pin_iter = network->pinIterator(net); while (pin_iter->hasNext()) { diff --git a/search/CheckSlewLimits.cc b/search/CheckSlewLimits.cc index aadec1be..6585cf07 100644 --- a/search/CheckSlewLimits.cc +++ b/search/CheckSlewLimits.cc @@ -290,7 +290,7 @@ CheckSlewLimits::checkSlewLimits(Net *net, { const Network *network = sta_->network(); PinSeq *slew_pins = new PinSeq; - Slack min_slack = MinMax::min()->initValue(); + float min_slack = MinMax::min()->initValue(); if (net) { NetPinIterator *pin_iter = network->pinIterator(net); while (pin_iter->hasNext()) { diff --git a/test/regression.tcl b/test/regression.tcl index ad8d2301..469b7c5c 100755 --- a/test/regression.tcl +++ b/test/regression.tcl @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# regression -help | [-valgrind] [-report_stats] test1 [test2...] +# regression -help | [-threads threads] [-valgrind] [-report_stats] test1 [test2...] proc regression_main {} { setup