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

fixed new interface to liouville classes

parent 27ff3d7d
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,7 @@ class Newtonian(Propagator):
def step(self, time, q, p):
""" perform a time step with initial coordinate and momentum """
qt = np.dot(self.ddiffs, self.iln.qobj.get_val_float(q, p))
pt = np.dot(self.ddiffs, self.iln.pobj.get_val_float(q, p))
qvec, pvec = self.iln.get_val_float(q, p)
qt = np.dot(self.ddiffs, qvec)
pt = np.dot(self.ddiffs, pvec)
return (qt, pt)
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