Skip to content

Commit 117acd6

Browse files
committed
Fix call
1 parent 8493849 commit 117acd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ def getOptimizationOptions(
10211021

10221022
raise ModelicaSystemError("Unhandled input for getOptimizationOptions()")
10231023

1024-
def parse_om_version(version: str) -> tuple[int, int, int]:
1024+
def parse_om_version(self, version: str) -> tuple[int, int, int]:
10251025
match = re.search(r"v?(\d+)\.(\d+)\.(\d+)", version)
10261026
if not match:
10271027
raise ValueError(f"Version not found in: {version}")

0 commit comments

Comments
 (0)