Closed ghost closed 6 years ago
The numpy warning is a cython thing. It's annoying but not an indicator of a problem: http://docs.cython.org/en/latest/src/reference/compilation.html#configuring-the-c-build
More importantly, your reshape should do column-major ordering: reshape((ns, ns), order='F')
.
Thanks, I just found the problem. The spy of sparse matrix seems transposed. The third body reaction made the indicator.
Code: