OpenWaterAnalytics / EPyT

EPyT: An EPANET-Python Toolkit for Smart Water Network Simulations
https://epanet-python-toolkit-epyt.readthedocs.io
European Union Public License 1.2
39 stars 26 forks source link

getLinkComment calls wrong function __getNodeIndices #23

Closed sdlj2008 closed 1 year ago

sdlj2008 commented 1 year ago

Describe the bug In the function of getLinkComment, __getlinkIndices is supposed to be called to get the link index.

indices = self.__getlinkIndices(*argv)

But in the code, __getNodeIndices is called:

indices = self.__getNodeIndices(*argv)