Skip to content

Commit

Permalink
Fix cython syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
notoraptor committed Sep 13, 2017
1 parent 714f3a5 commit 06b2d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygpu/gpuarray.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1430,8 +1430,8 @@ cdef GpuArray pygpu_reshape(GpuArray a, unsigned int nd, const size_t *newdims,
if cdims == NULL:
raise MemoryError, "could not allocate cdims"

cdef size_t d
try:
cdef size_t d
for i in range(nd):
d = newdims[i]
if i == caxis:
Expand Down

0 comments on commit 06b2d4e

Please sign in to comment.