# HG changeset patch # User Chris Cannam # Date 1470065106 -3600 # Node ID 4e022a3e567bd12409e613b38d3adcffedc62dad # Parent 9fb8dfd7ce4c3788e84d8ec28c683b53e0a5bfb1 Float/double conversion fixes diff -r 9fb8dfd7ce4c -r 4e022a3e567b layer/SpectrogramLayer.cpp --- a/layer/SpectrogramLayer.cpp Mon Aug 01 16:21:01 2016 +0100 +++ b/layer/SpectrogramLayer.cpp Mon Aug 01 16:25:06 2016 +0100 @@ -65,8 +65,8 @@ m_windowHopLevel(2), m_gain(1.0), m_initialGain(1.0), - m_threshold(1.0e-8), - m_initialThreshold(1.0e-8), + m_threshold(1.0e-8f), + m_initialThreshold(1.0e-8f), m_colourRotation(0), m_initialRotation(0), m_minFrequency(10),