Skip to content

Commit e9f7955

Browse files
committed
Merge branch 'dev'
2 parents 02ae224 + eed27a7 commit e9f7955

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Diff for: epyt/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
__author__ = """Marios S. Kyriakou"""
33
__email__ = "[email protected]"
4-
__version__ = "1.1.0"
4+
__version__ = "1.1.1"
55
__msxversion__ = "2.0.0"
66
__copyright__ = """Copyright 2022, KIOS Research and Innovation Center of Excellence (KIOS CoE),
77
University of Cyprus (www.kios.org.cy)."""

Diff for: epyt/epanet.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -16202,8 +16202,12 @@ def MSXstep(self):
1620216202
t : current simulation time at the end of the step(in secconds)
1620316203
tleft: time left in the simulation (in secconds)
1620416204
"""
16205-
t = c_long()
16206-
tleft = c_long()
16205+
if platform.system().lower() in ["windows"]:
16206+
t = c_double()
16207+
tleft = c_double()
16208+
else:
16209+
t = c_double()
16210+
tleft = c_long()
1620716211
err = self.msx_lib.MSXstep(byref(t), byref(tleft))
1620816212

1620916213
if err:

0 commit comments

Comments
 (0)