Skip to content

Commit 8ffb169

Browse files
authored
Merge pull request #320 from kif/patch-1
Remove deprecation warning
2 parents a739eb8 + 4f87369 commit 8ffb169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skcuda/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def diff(x_gpu):
634634

635635

636636
# List of available numerical types provided by numpy:
637-
num_types = [np.typeDict[t] for t in \
637+
num_types = [np.sctypeDict[t] for t in \
638638
np.typecodes['AllInteger']+np.typecodes['AllFloat']]
639639

640640
# Numbers of bytes occupied by each numerical type:

0 commit comments

Comments
 (0)