File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
bindings/Modules/src/SofaPython3/SofaLinearSolver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ void bindLinearSolvers(py::module &m)
6767
6868 c.def (" A" , [](CRSLinearSolver& self) -> EigenSparseMatrix
6969 {
70- if (CRS* matrix = self.getSystemMatrix ())
70+ if (CRS* matrix = self.l_linearSystem -> getSystemMatrix ())
7171 {
7272 return toEigen (*matrix);
7373 }
@@ -76,7 +76,7 @@ void bindLinearSolvers(py::module &m)
7676
7777 c.def (" b" , [](CRSLinearSolver& self) -> Vector
7878 {
79- if (auto * vector = self.getSystemRHVector ())
79+ if (auto * vector = self.l_linearSystem -> getRHSVector ())
8080 {
8181 return EigenVectorMap (vector->ptr (), vector->size ());
8282 }
@@ -85,7 +85,7 @@ void bindLinearSolvers(py::module &m)
8585
8686 c.def (" x" , [](CRSLinearSolver& self) -> Vector
8787 {
88- if (auto * vector = self.getSystemLHVector ())
88+ if (auto * vector = self.l_linearSystem -> getSolutionVector ())
8989 {
9090 return EigenVectorMap (vector->ptr (), vector->size ());
9191 }
You can’t perform that action at this time.
0 commit comments