Skip to content

Commit 7bb6470

Browse files
committed
Fix Py3 div error in utils.py (#300).
1 parent f134779 commit 7bb6470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skcuda/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_soname(filename):
114114
raise RuntimeError('unsupported machine architecture')
115115

116116
entsize = dynamic['sh_entsize']
117-
for k in range(dynamic['sh_size']/entsize):
117+
for k in range(dynamic['sh_size']//entsize):
118118
result = st.parse(dynamic.data()[k*entsize:(k+1)*entsize])
119119

120120
# The following value for the SONAME tag is specified in elf.h:

0 commit comments

Comments
 (0)