aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-23 16:32:45 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-23 16:32:45 +0200
commit240b4fdd90a9f3ca04e8e168bffdc92bea2ca3f3 (patch)
treee1706cb19a2439e3d94657e54c688a36c703f048 /pyGHDL/libghdl
parent11f1ebbc80250555474cfe22e1db10553e112a11 (diff)
downloadghdl-240b4fdd90a9f3ca04e8e168bffdc92bea2ca3f3.tar.gz
ghdl-240b4fdd90a9f3ca04e8e168bffdc92bea2ca3f3.tar.bz2
ghdl-240b4fdd90a9f3ca04e8e168bffdc92bea2ca3f3.zip
Minor fixes and pinned pyVHDLModel version to v0.10.3.
Diffstat (limited to 'pyGHDL/libghdl')
-rw-r--r--pyGHDL/libghdl/_decorator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/libghdl/_decorator.py b/pyGHDL/libghdl/_decorator.py
index 2001cb37e..a680cc9d1 100644
--- a/pyGHDL/libghdl/_decorator.py
+++ b/pyGHDL/libghdl/_decorator.py
@@ -93,7 +93,7 @@ def BindToLibGHDL(subprogramName):
return None
elif typ is int:
return c_int32
- elif type is float:
+ elif typ is float:
return c_double
elif typ is bool:
return c_bool