NOAA-OWP / evapotranspiration

Other
3 stars 9 forks source link

`update_until()` fails when `num_timesteps = 1` #4

Closed madMatchstick closed 2 years ago

madMatchstick commented 3 years ago

More specifically, get_end_time() should return FLT_MAX when num_timesteps is not directly defined (or is 1). update_until() fails because def considers end_time as stopping condition.

See https://bmi.readthedocs.io/en/latest/#get-end-time

madMatchstick commented 2 years ago

fixed in PR5