Skip to content
Snippets Groups Projects
Commit d94623c1 authored by Ivan Kondov's avatar Ivan Kondov
Browse files

corrected doctring

parent 5f3f3b6b
No related branches found
No related tags found
No related merge requests found
......@@ -95,8 +95,8 @@ class MPLP:
def __init__(self, maxorder, hamiltonian, coordinate, momentum, function,
scale=1, shift=0, recursion='taylor', nodes=None, sign=None,
fpprec='fixed'):
""" nodes are Newton intepolation points if recursion='newton',
sign is +1/-1 in recursion expression if recusion='chebyshev' """
""" nodes are Newton interpolation points if recursion='newton',
sign is +1/-1 in recursion expression if recursion='chebyshev' """
assert maxorder > 0
assert len(coordinate) > 0 and len(momentum) > 0
assert len(coordinate) == len(momentum)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment