File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
include/nanoeigenpy/decompositions/sparse Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ void exposeMatrixQ(nb::module_ m) {
4343 nb::class_<QType>(m, " SparseQRMatrixQReturnType" )
4444 .def (nb::init<const SparseQRType&>(), " qr" _a)
4545
46- .def_prop_ro (" rows" , &QType::rows)
47- .def_prop_ro (" cols" , &QType::cols)
46+ .def (" rows" , &QType::rows)
47+ .def (" cols" , &QType::cols)
4848
4949 .def (
5050 " __matmul__" ,
Original file line number Diff line number Diff line change 4040R = spqr .matrixR ()
4141P = spqr .colsPermutation ()
4242
43- assert spqr .matrixQ ().rows == dim
44- assert spqr .matrixQ ().cols == dim
43+ assert spqr .matrixQ ().rows () == dim
44+ assert spqr .matrixQ ().cols () == dim
4545assert R .shape [0 ] == dim
4646assert R .shape [1 ] == dim
4747assert P .indices ().size == dim
You can’t perform that action at this time.
0 commit comments