- refactored dt

This commit is contained in:
jens
2020-12-22 10:26:56 +01:00
parent b5a0e6a7ac
commit d777a955a4
7 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -3,9 +3,9 @@ from components.plant.delay import Delay
class Pot(APlant):
def __init__(self, params, theta_amb=20):
def __init__(self, dt, params, theta_amb=20):
APlant.__init__(self)
self.dt = params['dt']
self.dt = dt
self.alpha = 1.0
self.e = 0