April 10, 2011
6:59 p.m.
On Mon, Apr 11, 2011 at 11:00 AM, Sturla Molden <sturla@molden.no> wrote:
Den 11.04.2011 02:01, skrev David Crisp:
Can anybody guide me through this problem?
You must use dtype=object for the array vegetation_matrix.
Thank you. This seemed to remove the error I was having.
You also index vegetation_matrix wrong, use x[i,j] not x[i][j].
Is it a significant problem if I use the x[i][j] method and not the x[i,j] method? Or are we talking about trying to stick with a convention? Regards, David