From d0e1f2e4129dee4160edecb302fd86c5a6c65a29 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Thu, 11 Aug 2016 14:42:01 +0200 Subject: [PATCH] mathplot: silence debugging messages --- common/widgets/mathplot.cpp | 1 - include/widgets/mathplot.h | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/common/widgets/mathplot.cpp b/common/widgets/mathplot.cpp index a4cf48f4a9..946e1a4494 100644 --- a/common/widgets/mathplot.cpp +++ b/common/widgets/mathplot.cpp @@ -1108,7 +1108,6 @@ void mpScaleXLog::recalculateTicks ( wxDC & dc, mpWindow & w ) double visibleDecades = log( maxVvis / minVvis ) / log(10); - printf("visibleD %f %f\n", minDecade, maxDecade); double d; m_tickValues.clear(); diff --git a/include/widgets/mathplot.h b/include/widgets/mathplot.h index 081cc06fea..6b86083825 100644 --- a/include/widgets/mathplot.h +++ b/include/widgets/mathplot.h @@ -733,13 +733,11 @@ public: m_maxV = std::max(maxV, m_maxV); } - printf("Extend min %.10f max %.10f\n", m_minV, m_maxV); - if (m_minV == m_maxV) { m_minV = -1.0; m_maxV = 1.0; - } + } }