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
Defining initial values
Defining variational problem
Defining source terms
Defining boundary conditions
Time stepping...
Traceback (most recent call last):time so far: 0.0 s
File "/home/remidm/FESTIM/mwe.py", line 28, in <module>
my_model.run()
File "/home/remidm/FESTIM/festim/generic_simulation.py", line 422, in run
self.run_transient()
File "/home/remidm/FESTIM/festim/generic_simulation.py", line 445, in run_transient
self.iterate()
File "/home/remidm/FESTIM/festim/generic_simulation.py", line 473, in iterate
self.h_transport_problem.update(self.t, self.dt)
File "/home/remidm/FESTIM/festim/h_transport_problem.py", line 338, in update
dt.adapt(t, nb_it, converged)
File "/home/remidm/FESTIM/festim/stepsize.py", line 100, in adapt
if float(self.value) < dt_min:
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'float' and 'NoneType'
I've recently noticed that this is a situation users often encounter and we should provide a more explanatory error message.
The text was updated successfully, but these errors were encountered:
Running this on FESTIM 1.3.1 produces:
I've recently noticed that this is a situation users often encounter and we should provide a more explanatory error message.
The text was updated successfully, but these errors were encountered: