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
...@@ -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.])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment