Skip to content

Commit

Permalink
fixed np.float --> np.float64
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoishi committed Feb 21, 2023
1 parent b755ec8 commit 735a666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dedalus/libraries/fftw/fftw_wrappers.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create_buffer(size_t alloc_doubles):

# Return numpy-allocated array for zero size (cython casting fails)
if alloc_doubles == 0:
return np.zeros((0,), dtype=np.float)
return np.zeros((0,), dtype=np.float64)

# Allocate using FFTW
cdef double *c_data
Expand Down

0 comments on commit 735a666

Please sign in to comment.