|
19 | 19 | /* === clear_flag ========================================================== */ |
20 | 20 | /* ========================================================================= */ |
21 | 21 |
|
22 | | -static amd_int clear_flag (amd_int wflg, amd_int wbig, amd_int W [ ], amd_int n) |
| 22 | +static amd_int Highs_amd_clear_flag (amd_int wflg, amd_int wbig, amd_int W [ ], amd_int n) |
23 | 23 | { |
24 | 24 | amd_int x ; |
25 | 25 | if (wflg < 2 || wflg >= wbig) |
@@ -624,7 +624,7 @@ void Highs_amd_2 |
624 | 624 |
|
625 | 625 | /* initialize wflg */ |
626 | 626 | wbig = amd_int_max - n ; |
627 | | - wflg = clear_flag (0, wbig, W, n) ; |
| 627 | + wflg = Highs_amd_clear_flag (0, wbig, W, n) ; |
628 | 628 |
|
629 | 629 | /* --------------------------------------------------------------------- */ |
630 | 630 | /* initialize degree lists and eliminate dense and empty rows */ |
@@ -992,7 +992,7 @@ void Highs_amd_2 |
992 | 992 | /* With the current value of wflg, wflg+n must not cause integer |
993 | 993 | * overflow */ |
994 | 994 |
|
995 | | - wflg = clear_flag (wflg, wbig, W, n) ; |
| 995 | + wflg = Highs_amd_clear_flag (wflg, wbig, W, n) ; |
996 | 996 |
|
997 | 997 | /* ========================================================================= */ |
998 | 998 | /* COMPUTE (W [e] - wflg) = |Le\Lme| FOR ALL ELEMENTS */ |
@@ -1274,7 +1274,7 @@ void Highs_amd_2 |
1274 | 1274 | /* make sure that wflg+n does not cause integer overflow */ |
1275 | 1275 | lemax = MAX (lemax, degme) ; |
1276 | 1276 | wflg += lemax ; |
1277 | | - wflg = clear_flag (wflg, wbig, W, n) ; |
| 1277 | + wflg = Highs_amd_clear_flag (wflg, wbig, W, n) ; |
1278 | 1278 | /* at this point, W [0..n-1] < wflg holds */ |
1279 | 1279 |
|
1280 | 1280 | /* ========================================================================= */ |
@@ -1682,7 +1682,7 @@ void Highs_amd_2 |
1682 | 1682 | /* postorder the assembly tree */ |
1683 | 1683 | /* ========================================================================= */ |
1684 | 1684 |
|
1685 | | - amd_postorder (n, Pe, Nv, Elen, |
| 1685 | + Highs_amd_postorder (n, Pe, Nv, Elen, |
1686 | 1686 | W, /* output order */ |
1687 | 1687 | Head, Next, Last) ; /* workspace */ |
1688 | 1688 |
|
|
0 commit comments