1 comment

Hi Rahul,

This condition does not make sense to me:

elif 1 < d[t] > 1

What do you want to express here? Is this true for all values that are not exactly 1? Tying a discrete decision onto the precise value of a continuous variable is very unusual.

Cheers,
Matthias