Skip to content
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

Array size issues #5

Open
yomori opened this issue Feb 2, 2023 · 0 comments
Open

Array size issues #5

yomori opened this issue Feb 2, 2023 · 0 comments

Comments

@yomori
Copy link

yomori commented Feb 2, 2023

Hi Tilman,

I tried running the example given in the README file and I get the following error:

INIT_EXTERNAL_LINEAR: Sizes of cosmology%Plin_array, cosmology%k_plin, or cosmology%nk_plin are inconsistent: 1159240528 100 100

It looks like something is going wrong (type conversion?) when initializing the power spectrum array.
I double checked that the array that gets fed in from the python side has correct dimensions (10x100), and it looks like the error arises when converting that to a fortran array.

I've tried using the latest f90wrap version (0.2.11) as well as 0.2.7 as you suggested, but I still get the same error.
Any ideas how to get around this?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant