From 240b4fdd90a9f3ca04e8e168bffdc92bea2ca3f3 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Wed, 23 Jun 2021 16:32:45 +0200 Subject: Minor fixes and pinned pyVHDLModel version to v0.10.3. --- pyGHDL/libghdl/_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyGHDL/libghdl') 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 -- cgit v1.2.3