google-code-export / pysal

Automatically exported from code.google.com/p/pysal
Other
1 stars 1 forks source link

check for id_order in W.full() #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently W.full() returns a numpy array ordered by W.neighbors.keys
instead of by W.id_order. The following piece of code might fix this:

536    keys=w.neighbors.keys()
537    if w.id_order:
538        keys=w.id_order

that replaces the current:

536    keys=w.neighbors.keys()

Original issue reported on code.google.com by dreamessence on 14 May 2010 at 11:37

GoogleCodeExporter commented 9 years ago
good suggestion, will make the change.

Original comment by sjsrey on 15 May 2010 at 12:03