Skip to content

Commit

Permalink
Updated usage of Numpy bool attribute to align with recent Numpy vers…
Browse files Browse the repository at this point in the history
…ions (#150)
  • Loading branch information
huttered40 authored May 26, 2023
1 parent 416fefb commit e52330f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_python/ctf/helper.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _ord_comp(o1,o2):


type_index = {}
type_index[np.bool] = 1
type_index[np.bool_] = 1
type_index[np.int32] = 2
type_index[np.int64] = 3
type_index[np.float32] = 4
Expand Down

0 comments on commit e52330f

Please sign in to comment.