Skip to content

Commit 6346916

Browse files
committed
Merge pull request #223 from guziy/projecting_issue209
Projecting issue209
2 parents 3f928dd + 41ece15 commit 6346916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/basemap/pyproj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def _copytobuffer(x):
521521
# (this makes a copy - which is crucial
522522
# since buffer is modified in place)
523523
x.dtype.char
524-
inx = x.astype('d', order="C")
524+
inx = x.copy(order="C").astype('d')
525525

526526
# inx,isfloat,islist,istuple
527527
return inx,False,False,False

0 commit comments

Comments
 (0)