Skip to content

Commit

Permalink
fix-linkpumptype
Browse files Browse the repository at this point in the history
  • Loading branch information
ichrys03 committed Aug 1, 2024
1 parent 98428ab commit eb77051
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 eb77051

Please sign in to comment.