Opened 13 years ago

Closed 13 years ago

#3089 closed defect (fixed)

Error in Python sample

Reported by: Daniel Morissette Owned by: Daniel Morissette
Priority: normal Milestone: 1.7.0
Component: PythonBindings Version: unspecified
Severity: normal Keywords:


The gdal/swig/python/samples/ sample calls numpy.ones() and numpy.zeros() with the arguments in the incorrect order. It will presumably work for square images but fails on images where xsize != ysize

Change History (2)

comment:1 by Daniel Morissette, 13 years ago

Owner: changed from hobu to Daniel Morissette
Status: newassigned

I'll commit a fix in trunk now.

comment:2 by Daniel Morissette, 13 years ago

Resolution: fixed
Status: assignedclosed

Fixed in trunk r17481

Note: See TracTickets for help on using tickets.