Skip to content
Snippets Groups Projects
Commit 7097f977 authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

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

parent 3e419294
No related branches found
No related tags found
No related merge requests found
...@@ -34,10 +34,10 @@ void applyKnownSolution(EigenMatrix &A, EigenVector &b, EigenVector &/*x*/, ...@@ -34,10 +34,10 @@ void applyKnownSolution(EigenMatrix &A, EigenVector &b, EigenVector &/*x*/,
const std::vector<EigenMatrix::IndexType> &vec_knownX_id, 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, double penalty_scaling = 1e+10);
inline inline void applyKnownSolution(
void applyKnownSolution(Eigen::MatrixXd const &A, Eigen::VectorXd &b, Eigen::VectorXd &/*x*/, Eigen::MatrixXd const& A, Eigen::VectorXd const& b, Eigen::VectorXd& /*x*/,
const std::vector<Eigen::MatrixXd::Index> &_vec_knownX_id, const std::vector<Eigen::MatrixXd::Index>& _vec_knownX_id,
const std::vector<double> &_vec_knownX_x, double penalty_scaling = 1e+10) 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) A; (void) b; (void) _vec_knownX_id; (void) _vec_knownX_x;
(void) penalty_scaling; (void) penalty_scaling;
......
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