Getting value from TensorVariable in DifferentialEquation

I think I got it right now!

t_int = t.astype('int32') was required at the beginning of my SIR-function. Thanks!

1 Like