Commit Graph
3 Commits
Author SHA1 Message Date
Luke Butler 3856a6310d Fixes incorrect hour set with >9 input tokens
If you create a simple control with nine or more input tokens, the logic skips over assigning the hour variable and EPANET will activate the control at hour zero.
2023-02-15 14:46:39 -05:00
Luke Butler 9c0b576182 Fix for GPV controls in EN_saveinpfile
EN_saveinpfile was incorrectly saving the index of the GPV head loss curve inside of a simple control instead of the control status
2022-03-30 23:13:48 -04:00
Luke Butler 0945683bf9 Bug in example code for detecting error conditions
EN_geterror doesn't take in the project wrapper, and you need to include maxLen
2022-03-30 11:14:05 -04:00