Skip to content
Snippets Groups Projects
Commit 5f4084cc authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Don't increment past array bounds.

parent da78ad92
No related branches found
No related tags found
2 merge requests!136Master,!116Basic implementation of gparts
......@@ -87,7 +87,7 @@ u = append(u1, u2,0)
m = append(m1, m2,0)
ids = zeros(numPart, dtype='L')
for i in range(1, numPart+1):
ids[i] = i
ids[i-1] = i
#Final operations
h /= 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment