Commit 7097f977 authored by Tom Fischer's avatar Tom Fischer Committed by Dmitry Yu. Naumov
Browse files

[MaL/LA/Eigen] cppcheck: Parameter 'b' can be declared with const.

parent 3e419294
......@@ -34,10 +34,10 @@ 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);
inline
void applyKnownSolution(Eigen::MatrixXd const &A, Eigen::VectorXd &b, Eigen::VectorXd &/*x*/,
const std::vector<Eigen::MatrixXd::Index> &_vec_knownX_id,
const std::vector<double> &_vec_knownX_x, double penalty_scaling = 1e+10)
inline void applyKnownSolution(
Eigen::MatrixXd const& A, Eigen::VectorXd const& b, Eigen::VectorXd& /*x*/,
const std::vector<Eigen::MatrixXd::Index>& _vec_knownX_id,
const std::vector<double>& _vec_knownX_x, double penalty_scaling = 1e+10)
{
(void) A; (void) b; (void) _vec_knownX_id; (void) _vec_knownX_x;
(void) penalty_scaling;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment