summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGraphSup.C
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2017-07-20 10:37:45 (GMT)
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2017-07-21 11:40:46 (GMT)
commit2655a6b45562ceac31a7b7d82312650be57e6d1a (patch)
tree6b97db4ac1e7d49e5534877880d098457cd89a35 /generic/tkbltGraphSup.C
parent642cb1492823506722719e74e8edf03445f9410b (diff)
downloadblt-2655a6b45562ceac31a7b7d82312650be57e6d1a.zip
blt-2655a6b45562ceac31a7b7d82312650be57e6d1a.tar.gz
blt-2655a6b45562ceac31a7b7d82312650be57e6d1a.tar.bz2
Upgrade vScale_/hScale_ to double
Diffstat (limited to 'generic/tkbltGraphSup.C')
-rw-r--r--generic/tkbltGraphSup.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkbltGraphSup.C b/generic/tkbltGraphSup.C
index 005f10c..c59012b 100644
--- a/generic/tkbltGraphSup.C
+++ b/generic/tkbltGraphSup.C
@@ -372,8 +372,8 @@ void Graph::layoutGraph()
if (hRange_ < 1)
hRange_ = 1;
- hScale_ = 1.0f / (float)hRange_;
- vScale_ = 1.0f / (float)vRange_;
+ hScale_ = 1.0 / hRange_;
+ vScale_ = 1.0 / vRange_;
// Calculate the placement of the graph title so it is centered within the
// space provided for it in the top margin