Fixed warning
parent
bfd6f4cd9e
commit
4a8c2f666c
|
|
@ -20,7 +20,7 @@ void Balance2Way(ctrl_t *ctrl, graph_t *graph, real_t *ntpwgts)
|
|||
|
||||
if (graph->ncon == 1) {
|
||||
/* return right away if the balance is OK */
|
||||
if (iabs(ntpwgts[0]*graph->tvwgt[0]-graph->pwgts[0]) < 3*graph->tvwgt[0]/graph->nvtxs)
|
||||
if (fabs(ntpwgts[0]*graph->tvwgt[0]-graph->pwgts[0]) < 3*graph->tvwgt[0]/graph->nvtxs)
|
||||
return;
|
||||
|
||||
if (graph->nbnd > 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue