Possible bug in loadbal.hoc
Posted: Mon Nov 12, 2012 11:52 am
Recently when I tried to use loadbal.hoc,
I found that sometimes there will be a "subscript index out of range" error.
After testing the loadbal.hoc, I found that near line 450
should be changed to
to prevent this error.
I did not find any post talking about this, so I just post it.
I found that sometimes there will be a "subscript index out of range" error.
After testing the loadbal.hoc, I found that near line 450
Code: Select all
if (j == 0 && ionindices.x[k] > 0){
Code: Select all
if (j == 0) if (ionindices.x[k] > 0){
I did not find any post talking about this, so I just post it.