New submission from Ningyi Du <ningy...@gmail.com>:
IndexError: index 11 is out of bounds for axis 0 with size 11 The actual error is not with axis 0, but axis 3. error message: 168 if iJ>=9: 169 print(iE,iE0,iEtemp,iJ,li,lf,mlf+lf) --> 170 SS[iEtemp][iJ][li][lf][mlf+lf]= FF(jf,mf,lf,mlf,ji,mi,li,J)*SJ[iCh][jCh] 171 172 sumSJ1 += np.abs(SJ0[iCh][jCh])**2 IndexError: index 11 is out of bounds for axis 0 with size 11 ---------- messages: 363433 nosy: ningyidu priority: normal severity: normal status: open title: IndexError gives wrong axis info _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39864> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com