From 639f9172e89355feff352b70e040dcb3e993232c Mon Sep 17 00:00:00 2001 From: Paul Baksic Date: Fri, 10 Apr 2026 10:29:52 +0200 Subject: [PATCH] Missing typename --- .../Sofa/Types/Binding_CompressedRowSparseMatrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/Sofa/src/SofaPython3/Sofa/Types/Binding_CompressedRowSparseMatrix.cpp b/bindings/Sofa/src/SofaPython3/Sofa/Types/Binding_CompressedRowSparseMatrix.cpp index 71777420..ca2e7709 100644 --- a/bindings/Sofa/src/SofaPython3/Sofa/Types/Binding_CompressedRowSparseMatrix.cpp +++ b/bindings/Sofa/src/SofaPython3/Sofa/Types/Binding_CompressedRowSparseMatrix.cpp @@ -58,7 +58,7 @@ void bindCompressedRowSparseMatrixConstraint(pybind11::module& m) return toEigen(accessor.ref()); }); - crsmc.def("add", [](sofa::Data& self, sofa::Index row, sofa::Index col, const MatrixDeriv::Block value) + crsmc.def("add", [](sofa::Data& self, sofa::Index row, sofa::Index col, const typename MatrixDeriv::Block value) { sofa::helper::WriteAccessor accessor(self); auto line = accessor->writeLine(row);