kercos / geomodel

Automatically exported from code.google.com/p/geomodel
0 stars 0 forks source link

Typo in geotypes.py leads to unexpected behaviour #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce the problem:
- Assign a value to "east" property of the Box class

Problem:
- Due to a typo in the code _set_east() assigns longitude value to a latitude 
attribute. This causes unexpected behavior, naturally.

I discovered this while trying to limit bounding box searches to certain region 
and it's obviously just a copy-paste typo in the code. See attached patch for a 
fix.

Original issue reported on code.google.com by kristijo...@gmail.com on 21 Jan 2012 at 9:19

Attachments: