61 double min_bl = std::numeric_limits<double>::max();
62 double max_bl = std::numeric_limits<double>::lowest();
68 for(
auto const& edge : tree.
edges() ) {
72 assert( min_bl <= max_bl );
73 double dist = max_bl - min_bl;
81 for(
auto const& edge : tree.
edges() ) {
82 double val = ( edge.data<
CommonEdgeData>().branch_length - min_bl) / dist;