Skip to content

Commit

Permalink
Fixed no matching function error.
Browse files Browse the repository at this point in the history
  • Loading branch information
acaudwell committed Jul 23, 2016
1 parent 82f1a09 commit 631da39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dirnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 631da39

Please sign in to comment.