diff options
Diffstat (limited to 'generic/tkbltGraphSup.C')
-rw-r--r-- | generic/tkbltGraphSup.C | 4 |
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 |