mathplot: silence debugging messages

This commit is contained in:
Tomasz Wlostowski 2016-08-11 14:42:01 +02:00 committed by Maciej Suminski
parent 8e4ae1968f
commit d0e1f2e412
2 changed files with 1 additions and 4 deletions

View File

@ -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();

View File

@ -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;
}
}
}