From c1acfe6667ee1b45c86b56581b0dc178515e8b67 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Sun, 1 Aug 2021 13:31:06 +0200 Subject: [PATCH] [MaL] Constify ctor args, format docu. --- MathLib/LinAlg/Eigen/EigenMatrix.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MathLib/LinAlg/Eigen/EigenMatrix.h b/MathLib/LinAlg/Eigen/EigenMatrix.h index 387d4749dc0..50aa596ef7b 100644 --- a/MathLib/LinAlg/Eigen/EigenMatrix.h +++ b/MathLib/LinAlg/Eigen/EigenMatrix.h @@ -34,12 +34,12 @@ public: // TODO The matrix constructor should take num_rows and num_cols as // arguments // that is left for a later refactoring. - /** - * constructor - * @param n the number of rows (that is equal to the number of columns) - * @param n_nonzero_columns the number of non-zero columns used for preallocation - */ - explicit EigenMatrix(IndexType n, IndexType n_nonzero_columns = 0) + + /// @param n the number of rows (that is equal to the number of columns). + /// @param n_nonzero_columns the number of non-zero columns used for + /// preallocation. + explicit EigenMatrix(IndexType const n, + IndexType const n_nonzero_columns = 0) : mat_(n, n) { if (n_nonzero_columns > 0) -- GitLab