Large epsrel
gives unclear errors in .get_process_tensor
and .tempo_compute
; also dkmax=0
#89
Labels
tidy up
Something needs to be tidied up
If argument
esprel
is large e.g.epsrel=1.0
a call topt.get_process_tensor
fails with a long stack trace endingIndexError
, and similarly in a call totempo_compute
. We probably want to catch this earlier on and throw a human readable exception.On a related note setting
dkmax=0
(ortcut
very small) causes the PT computation to fail in an unclear way (TEMPO is fine). We could ether assertdkmax
is greater than0
for anyTempoParameters
, or just check this whenTempoParameters
are used in a PT computation and throw an Error there.Attached is a snippet (taken from
bath_dynamics.ipynb
) showing both kinds or failure.The text was updated successfully, but these errors were encountered: