diff layer/ColourMapper.cpp @ 911:6e2a034f7117 cxx11

Type correction
author Chris Cannam
date Tue, 10 Mar 2015 17:40:31 +0000
parents e0f08e108064
children 2a85ab180d08
line wrap: on
line diff
--- a/layer/ColourMapper.cpp	Tue Mar 10 17:31:14 2015 +0000
+++ b/layer/ColourMapper.cpp	Tue Mar 10 17:40:31 2015 +0000
@@ -78,8 +78,7 @@
     double h = 0.0, s = 0.0, v = 0.0, r = 0.0, g = 0.0, b = 0.0;
     bool hsv = true;
 
-//    double red = 0.0, green = 0.3333;
-    double blue = 0.6666f, pieslice = 0.3333;
+    double blue = 0.6666, pieslice = 0.3333;
 
     if (m_map >= getColourMapCount()) return Qt::black;
     StandardMap map = (StandardMap)m_map;