diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/_internal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py index a5742983c..523a9f502 100644 --- a/numpy/core/_internal.py +++ b/numpy/core/_internal.py @@ -237,7 +237,7 @@ _getintp_ctype.cache = None class _missing_ctypes(object): def cast(self, num, obj): - return obj.value + return num.value class c_void_p(object): def __init__(self, ptr): |