Skip to content

Array size issues #5

@yomori

Description

@yomori

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions