OpenWaterAnalytics / EPANET

The Water Distribution System Hydraulic and Water Quality Analysis Toolkit
MIT License
279 stars 204 forks source link

Bug in example code for detecting error conditions #670

Closed lbutler closed 2 years ago

lbutler commented 2 years ago

EN_geterror doesn't take in the project wrapper, and you need to include maxLen.

Stumbled on this when I was copying the example from: http://wateranalytics.org/EPANET/toolkit-usage.html