Skip to content

Commit

Permalink
Merge pull request #60 from ichrys03/fixpump
Browse files Browse the repository at this point in the history
fix-linkpumptype
  • Loading branch information
Mariosmsk authored Aug 1, 2024
2 parents 98428ab + eb77051 commit 1e30705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epyt/epanet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3504,7 +3504,7 @@ def getLinkPumpType(self):
v = self.getLinkPumpTypeCode()
pType = []
for i in v:
pType.append(self.TYPEPUMP[i])
pType.append(self.TYPEPUMP[i-1])
return pType

def getLinkPumpTypeCode(self):
Expand Down

0 comments on commit 1e30705

Please sign in to comment.