Skip to content
Snippets Groups Projects
Commit e3b0e19a authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

typo fix in mumps docstring

Thanks to Bernard van Heck for reporting.
parent 96dd3eb2
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,7 @@ class MUMPSContext(object): ...@@ -159,7 +159,7 @@ class MUMPSContext(object):
Solving a small system of equations. Solving a small system of equations.
>>> import scipy.sparse as sp >>> import scipy.sparse as sp
>>> sp.coo_matrix([[1.,0],[0,2.]]) >>> a = sp.coo_matrix([[1.,0],[0,2.]], dtype=complex)
>>> ctx = kwant.linalg.mumps.MUMPSContext() >>> ctx = kwant.linalg.mumps.MUMPSContext()
>>> ctx.factor(a) >>> ctx.factor(a)
>>> ctx.solve([1., 1.]) >>> ctx.solve([1., 1.])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment