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

check sign parameter is defined, remove cell parameter

parent 673dcf0c
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,8 @@ class MPLP:
assert maxorder > 0
assert len(coordinate) > 0 and len(momentum) > 0
assert len(coordinate) == len(momentum)
if recursion == 'chebyshev':
assert sign is not None
self.maxorder = maxorder
self.Q = coordinate
self.P = momentum
......@@ -526,7 +528,7 @@ class MPLPDV:
self.P = system.p
self.ff = system.ff
self.maxorder = maxorder-1
self.cell = system.cell
# self.cell = system.cell
self.system = system
if numeric is not None:
self.numeric = numeric
......
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