Commit 5f4084cc authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Don't increment past array bounds.

parent da78ad92
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment