We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a2e93 commit c998da8Copy full SHA for c998da8
include/osp/bsp/scheduler/GreedySchedulers/GreedyVarianceSspScheduler.hpp
@@ -75,7 +75,14 @@ class GreedyVarianceSspScheduler : public MaxBspScheduler<Graph_t> {
75
}
76
temp = std::log(temp) / 2 + max_priority;
77
78
- double node_weight = std::log((double)std::max(graph.vertex_work_weight(*r_iter), static_cast<v_workw_t<Graph_t>>(1)));
+ double node_weight = std::log(
79
+ static_cast<double>(
80
+ std::max(
81
+ graph.vertex_work_weight(*r_iter),
82
+ static_cast<v_workw_t<Graph_t>>(1)
83
+ )
84
85
+ );
86
double larger_val = node_weight > temp ? node_weight : temp;
87
88
work_variance[*r_iter] =
0 commit comments