Skip to content

Commit

Permalink
fix a division that is no longer accaptable for cython 0.23 while 0.2…
Browse files Browse the repository at this point in the history
…2 still accpted it (It should be an integer division).
  • Loading branch information
jdkloe committed Nov 12, 2015
1 parent 9dbf03d commit 4227b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _proj.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def _transform(Proj p1, Proj p2, inx, iny, inz, radians):
yy = <double *>ydata
if inz is not None:
zz = <double *>zdata
npts = buflenx/8
npts = buflenx//8
if not radians and p1.is_latlong():
for i from 0 <= i < npts:
xx[i] = xx[i]*_dg2rad
Expand Down

0 comments on commit 4227b0d

Please sign in to comment.