diff --git a/MathLib/LinAlg/Eigen/EigenTools.cpp b/MathLib/LinAlg/Eigen/EigenTools.cpp index cc495ccfb0c4dcf970f988f8d5ff6ee794259125..94873cac6eefe150a67a8181cc1a6097f3fdb792 100644 --- a/MathLib/LinAlg/Eigen/EigenTools.cpp +++ b/MathLib/LinAlg/Eigen/EigenTools.cpp @@ -17,7 +17,7 @@ namespace MathLib void applyKnownSolution( EigenMatrix& A, EigenVector& b, EigenVector& /*x*/, const std::vector<EigenMatrix::IndexType>& vec_knownX_id, - const std::vector<double>& vec_knownX_x, double /*penalty_scaling*/) + const std::vector<double>& vec_knownX_x) { using SpMat = EigenMatrix::RawMatrixType; static_assert(SpMat::IsRowMajor, "matrix is assumed to be row major!"); diff --git a/MathLib/LinAlg/Eigen/EigenTools.h b/MathLib/LinAlg/Eigen/EigenTools.h index c3fb053890bf39d72752fa157768da187c5620b9..482421c49132da80010f0e588dabafc29fa99124 100644 --- a/MathLib/LinAlg/Eigen/EigenTools.h +++ b/MathLib/LinAlg/Eigen/EigenTools.h @@ -26,13 +26,10 @@ class EigenVector; * @param b RHS vector * @param vec_knownX_id a vector of known solution entry IDs * @param vec_knownX_x a vector of known solutions - * @param penalty_scaling value for scaling some matrix and right hand side - * entries to enforce some conditions, value ignored in the current - * implementation */ void applyKnownSolution( EigenMatrix& A, EigenVector& b, EigenVector& /*x*/, const std::vector<EigenMatrix::IndexType>& vec_knownX_id, - const std::vector<double>& vec_knownX_x, double penalty_scaling = 1e+10); + const std::vector<double>& vec_knownX_x); } // namespace MathLib