From 30a7f4fcc3bbc2db33f358eb3994308b0820af5b Mon Sep 17 00:00:00 2001 From: "Marios S. Kyriakou" Date: Thu, 1 Aug 2024 14:58:32 +0300 Subject: [PATCH] Revert "fix-linkpumptype" --- epyt/epanet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epyt/epanet.py b/epyt/epanet.py index a79cf0c..a31f3f7 100644 --- a/epyt/epanet.py +++ b/epyt/epanet.py @@ -3504,7 +3504,7 @@ def getLinkPumpType(self): v = self.getLinkPumpTypeCode() pType = [] for i in v: - pType.append(self.TYPEPUMP[i-1]) + pType.append(self.TYPEPUMP[i]) return pType def getLinkPumpTypeCode(self):