See #931 and this comment for a little more context.
That was a fairly subtle bug, caused by a flaw which remained dormant until another, seemingly appropriate and safe change was made. That suggests to me more fundamental problems that eventually need more attention.
Some ideas to focus on include, but are not limited to:
- refactoring and improving
HY_PointHydroNexus::get_downstream_flow, both for code style/readability and technical design
- ensuring robust automated testing around all the various scenarios, especially those that slipped through previously
- improving the design with respect to how flow and contributing catchments are related (two things that seem pretty closely related in the real world)
See #931 and this comment for a little more context.
That was a fairly subtle bug, caused by a flaw which remained dormant until another, seemingly appropriate and safe change was made. That suggests to me more fundamental problems that eventually need more attention.
Some ideas to focus on include, but are not limited to:
HY_PointHydroNexus::get_downstream_flow, both for code style/readability and technical design