@@ -11,7 +11,7 @@ namespace hipo {
1111
1212// Dense Factorisation kernel
1313
14- std::pair<Int, double > maxInCol (Int j, Int n, Int m, double * A, Int lda) {
14+ static std::pair<Int, double > maxInCol (Int j, Int n, Int m, double * A, Int lda) {
1515 // Given the symemtric matrix A, of size nxn, accessed with leading dimension
1616 // lda, in upper triangular format, ignoring rows 0:j-1, find the maximum in
1717 // row/col m.
@@ -37,7 +37,7 @@ std::pair<Int, double> maxInCol(Int j, Int n, Int m, double* A, Int lda) {
3737 return {r, maxval};
3838}
3939
40- void staticReg (double & pivot, Int sign, const Regul& regval, double & totalreg) {
40+ static void staticReg (double & pivot, Int sign, const Regul& regval, double & totalreg) {
4141 // apply static regularisation
4242
4343 double old_pivot = pivot;
@@ -48,9 +48,9 @@ void staticReg(double& pivot, Int sign, const Regul& regval, double& totalreg) {
4848 totalreg = pivot - old_pivot;
4949}
5050
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) {
51+ static 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) {
5454 // Perform Bunch-Kaufman pivoting within a block of the supernode (see Schenk,
5555 // Gartner, ETNA 2006).
5656 // It works only for upper triangular A.
0 commit comments