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

Problem with infrastructure triggering when ROFs turned off #20

Open davidfgold opened 5 years ago

davidfgold commented 5 years ago

When trying to set the infrastructure trigger for a new water source, the code crashes when anything other than a length 2 vector is entered, even if the utility has more than 2 infrastructure options.

If a length 2 vector is entered and ROF turned off, all infrastructure ranked higher than 2 is still built.