Skip to content

Commit ff48833

Browse files
committed
HessenbergDecomposition: Added const in signature for matrix function
1 parent 866750e commit ff48833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nanoeigenpy/decompositions/hessenberg-decomposition.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void exposeHessenbergDecomposition(nb::module_ m, const char *name) {
4444
"matrixQ", [](const Solver &c) -> MatrixType { return c.matrixQ(); },
4545
"Reconstructs the orthogonal matrix Q in the decomposition.")
4646
.def(
47-
"matrixH", [](Solver &c) -> MatrixType { return c.matrixH(); },
47+
"matrixH", [](const Solver &c) -> MatrixType { return c.matrixH(); },
4848
"Constructs the Hessenberg matrix H in the decomposition.")
4949

5050
.def(IdVisitor());

0 commit comments

Comments
 (0)