From 631da39740f93d2013c496598a2f5bb8e89b4200 Mon Sep 17 00:00:00 2001 From: Andrew Caudwell Date: Sat, 23 Jul 2016 20:35:49 +1200 Subject: [PATCH] Fixed no matching function error. --- src/dirnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dirnode.cpp b/src/dirnode.cpp index c3128348..1fd8f2aa 100644 --- a/src/dirnode.cpp +++ b/src/dirnode.cpp @@ -582,7 +582,7 @@ void RDirNode::calcRadius() { //this->dir_radius_sqrt = sqrt(dir_radius); //dir_radius_sqrt is not used // this->parent_radius = std::max(1.0, parent_circ / PI); - this->parent_radius = std::max(1.0, sqrt(total_file_area) * gGourceDirPadding); + this->parent_radius = std::max(1.0f, sqrt(total_file_area) * gGourceDirPadding); } float RDirNode::distanceToParent() const{