Skip to content
Snippets Groups Projects
Commit c0994afc authored by Tom Fischer's avatar Tom Fischer
Browse files

[MaL] applyKnownSolution(): Rm unused penalty term.

parent c80d053a
No related branches found
No related tags found
No related merge requests found
......@@ -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!");
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment