Skip to content

Commit

Permalink
Added explicit on SparseMatrix private constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
odlomax committed Feb 9, 2024
1 parent 4210cdb commit c9902c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class SparseMatrix {
}

private:
SparseMatrix(const EigenMatrix& eigenMatrixAdjoint)
explicit SparseMatrix(const EigenMatrix& eigenMatrixAdjoint)
: eigenMatrix_{eigenMatrixAdjoint} {}
EigenMatrix eigenMatrix_{};
};
Expand Down

0 comments on commit c9902c3

Please sign in to comment.