Skip to content

Commit f2a3114

Browse files
committed
gpl: remove commented code
Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
1 parent 732b3ba commit f2a3114

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/gpl/src/graphicsImpl.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void GraphicsImpl::debugForNesterovPlace(
8484
main_chart_->setYAxisMin({std::nullopt, 0});
8585

8686
// Useful for debugging multiple NesterovBase: Density penalty and PhiCoef
87-
if (logger_->debugCheck(utl::GPL, "penaltyPlot", 1)) {
87+
if (logger_->debugCheck(utl::GPL, "debugPlot", 1)) {
8888
if (!nbVec_.empty()) {
8989
std::vector<std::string> region_names;
9090
region_names.reserve(nbVec_.size());
@@ -563,11 +563,10 @@ void GraphicsImpl::addIter(const int iter, const double overflow)
563563
main_chart_->addPoint(iter, {block->dbuToMicrons(nbc_->getHpwl()), overflow});
564564

565565
// Add density penalties snapshot for each NesterovBase
566-
if (logger_->debugCheck(utl::GPL, "penaltyPlot", 1)) {
566+
if (logger_->debugCheck(utl::GPL, "debugPlot", 1)) {
567567
if (density_chart_) {
568568
std::vector<double> values;
569569
if (!nbVec_.empty() && nbVec_[0]) {
570-
// values.push_back(std::log(static_cast<double>(nbVec_[0]->getDensityPenalty())));
571570
values.push_back((static_cast<double>(nbVec_[0]->getDensityPenalty())));
572571
values.push_back(static_cast<double>(nbVec_[0]->getStoredPhiCoef()));
573572
} else {

0 commit comments

Comments
 (0)