Skip to content

Commit

Permalink
Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
TizianoDeMatteis committed Dec 20, 2022
1 parent 4714680 commit b25ae83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def __init__(self, wrapped_type, typename=None):
elif wrapped_type is bool:
wrapped_type = numpy.bool_
elif getattr(wrapped_type, '__name__', '') == 'bool_' and typename is None:
typename = 'bool_'
typename = 'bool'

self.type = wrapped_type # Type in Python
self.ctype = _CTYPES[wrapped_type] # Type in C
Expand Down

0 comments on commit b25ae83

Please sign in to comment.