You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I randomly stumbled upon this line in the the Simulation class constructor. The start_datetime argument has the default argument datetime.now(), which is evaluated when the class is defined, and not when it is instantiated. Alternatively the default argument could be None, and then redefined to datetime.now() inside the function body.
The text was updated successfully, but these errors were encountered:
numerous/numerous/engine/simulation/simulation.py
Line 31 in 121cd00
I randomly stumbled upon this line in the the
Simulation
class constructor. Thestart_datetime
argument has the default argumentdatetime.now()
, which is evaluated when the class is defined, and not when it is instantiated. Alternatively the default argument could beNone
, and then redefined todatetime.now()
inside the function body.The text was updated successfully, but these errors were encountered: