Skip to content

Commit 06b2d4e

Browse files
committed
Fix cython syntax
1 parent 714f3a5 commit 06b2d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygpu/gpuarray.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,8 +1430,8 @@ cdef GpuArray pygpu_reshape(GpuArray a, unsigned int nd, const size_t *newdims,
14301430
if cdims == NULL:
14311431
raise MemoryError, "could not allocate cdims"
14321432

1433+
cdef size_t d
14331434
try:
1434-
cdef size_t d
14351435
for i in range(nd):
14361436
d = newdims[i]
14371437
if i == caxis:

0 commit comments

Comments
 (0)