Opened 15 years ago

Closed 15 years ago

#3089 closed defect (fixed)

Error in classify.py Python sample

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

Description

The gdal/swig/python/samples/classify.py 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, 15 years ago

Owner: changed from hobu to Daniel Morissette
Status: newassigned

I'll commit a fix in trunk now.

comment:2 by Daniel Morissette, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in trunk r17481

Note: See TracTickets for help on using tickets.