Skip to content

Commit 1e30705

Browse files
authored
Merge pull request #60 from ichrys03/fixpump
fix-linkpumptype
2 parents 98428ab + eb77051 commit 1e30705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: epyt/epanet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3504,7 +3504,7 @@ def getLinkPumpType(self):
35043504
v = self.getLinkPumpTypeCode()
35053505
pType = []
35063506
for i in v:
3507-
pType.append(self.TYPEPUMP[i])
3507+
pType.append(self.TYPEPUMP[i-1])
35083508
return pType
35093509

35103510
def getLinkPumpTypeCode(self):

0 commit comments

Comments
 (0)