From 3d0ce057d6bf3d531ebf34e390dfdb900797d1e0 Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Sat, 22 Mar 2014 08:38:52 +0100 Subject: [PATCH] Small fixes. Compiling, but stereo linking does still not work (see mailing list). --- src/core/AutomatableModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/AutomatableModel.cpp b/src/core/AutomatableModel.cpp index ae4db5911..20f81229d 100644 --- a/src/core/AutomatableModel.cpp +++ b/src/core/AutomatableModel.cpp @@ -354,9 +354,9 @@ float AutomatableModel::fittedValue( float value ) const value = nearbyintf( value / m_step ) * m_step; } - round_at(value, m_maxValue, m_step); - round_at(value, m_minValue, m_step); - round_at(value, 0, m_step); + round_at(value, m_maxValue); + round_at(value, m_minValue); + round_at(value, 0.0f); if( value < m_minValue ) {