Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Apr 19, 2024
2 parents 02ae224 + eed27a7 commit e9f7955
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion epyt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
__author__ = """Marios S. Kyriakou"""
__email__ = "[email protected]"
__version__ = "1.1.0"
__version__ = "1.1.1"
__msxversion__ = "2.0.0"
__copyright__ = """Copyright 2022, KIOS Research and Innovation Center of Excellence (KIOS CoE),
University of Cyprus (www.kios.org.cy)."""
Expand Down
8 changes: 6 additions & 2 deletions epyt/epanet.py
Original file line number Diff line number Diff line change
Expand Up @@ -16202,8 +16202,12 @@ def MSXstep(self):
t : current simulation time at the end of the step(in secconds)
tleft: time left in the simulation (in secconds)
"""
t = c_long()
tleft = c_long()
if platform.system().lower() in ["windows"]:
t = c_double()
tleft = c_double()
else:
t = c_double()
tleft = c_long()
err = self.msx_lib.MSXstep(byref(t), byref(tleft))

if err:
Expand Down

0 comments on commit e9f7955

Please sign in to comment.