Skip to content

Commit 05d33cb

Browse files
authored
Update epamodule.py
1 parent 67a81c0 commit 05d33cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

epanet-module/epamodule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def ENgetoption(optioncode):
365365
EN_TOLERANCE
366366
EN_EMITEXPON
367367
EN_DEMANDMULT"""
368-
j= ctypes.c_int()
368+
j= ctypes.c_float()
369369
ierr= _lib.ENgetoption(optioncode, ctypes.byref(j))
370370
if ierr!=0: raise ENtoolkitError(ierr)
371371
return j.value

0 commit comments

Comments
 (0)