1+ #include " DenseFact.h"
12#include " CallAndTimeBlas.h"
23#include " DataCollector.h"
34#include " FactorHiGHSSettings.h"
@@ -11,7 +12,7 @@ namespace hipo {
1112
1213// Dense Factorisation kernel
1314
14- std::pair<Int, double > maxInCol (Int j, Int n, Int m, double * A, Int lda) {
15+ static std::pair<Int, double > maxInCol (Int j, Int n, Int m, double * A, Int lda) {
1516 // Given the symemtric matrix A, of size nxn, accessed with leading dimension
1617 // lda, in upper triangular format, ignoring rows 0:j-1, find the maximum in
1718 // row/col m.
@@ -37,7 +38,7 @@ std::pair<Int, double> maxInCol(Int j, Int n, Int m, double* A, Int lda) {
3738 return {r, maxval};
3839}
3940
40- void staticReg (double & pivot, Int sign, const Regul& regval, double & totalreg) {
41+ static void staticReg (double & pivot, Int sign, const Regul& regval, double & totalreg) {
4142 // apply static regularisation
4243
4344 double old_pivot = pivot;
@@ -48,9 +49,9 @@ void staticReg(double& pivot, Int sign, const Regul& regval, double& totalreg) {
4849 totalreg = pivot - old_pivot;
4950}
5051
51- bool blockBunchKaufman (Int j, Int n, double * A, Int lda, Int* swaps, Int* sign,
52- double thresh, const Regul& regval, double * totalreg,
53- DataCollector& data) {
52+ static bool blockBunchKaufman (Int j, Int n, double * A, Int lda, Int* swaps, Int* sign,
53+ double thresh, const Regul& regval, double * totalreg,
54+ DataCollector& data) {
5455 // Perform Bunch-Kaufman pivoting within a block of the supernode (see Schenk,
5556 // Gartner, ETNA 2006).
5657 // It works only for upper triangular A.
0 commit comments