-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: IndexError: index 12 is out of bounds for axis 0 with size 12 #375
Comments
Hi, Can you copy your param file? Best, |
Hi, data.over_sampling=[1, 3, 1] data.parameters['sigma8'] = [0.8120, 0.1, 3., 0.3, 1, 'cosmo'] data.parameters['alphastar'] = [-6.499906e-01, -3., 0, 0.2, 1, 'nuisance'] #data.parameters['h'] = [0.7, None, None, 0, 1, 'derived'] data.cosmo_arguments['100*theta_s'] = 1.04110 data.cosmo_arguments['m_ncdm'] = 0.06 data.N=5000 ’‘’ |
Hi, I agree this is odd. I don't see any problems with the param file. I was "hoping" you'd have a line with a comment at the end of it, which isn't allowed and prompts this kind of error, but that's not the case. I see you have 12 varying parameters (1 cosmo and 11 nuisance) and for some reason it tries to go to parameter 13 (index 12). Trying to brainstorm, a couple of questions come to mind:
I hope some of this helps. Best, |
Hi everyone,
I encountered a problem while using MontePython, and received the following error message during runtime:
I also reviewed my input data, but couldn't find any issues related to index out of bounds.
The text was updated successfully, but these errors were encountered: