bernardoct / WaterPaths

WaterPaths - A utility planning and management tool based off the NC Triangle model.
Apache License 2.0
18 stars 8 forks source link

Continuity in reservoir outflows #2

Closed degorelick closed 6 years ago

degorelick commented 6 years ago

Reservoir.cpp: incorrectly increases outflow_new when reservoir storage falls below zero. Should replace - with + sign on line 287 to correct.

bernardoct commented 6 years ago

Modification made and corresponding unit test added. Thanks!