Skip to content

Debug of function ‘realise_density_cola’ #5

@ChenWenzheng99

Description

@ChenWenzheng99

I think the callable function at line 513 should be : pspec = lambda k: h**3. * ccl.linear_matter_power(self.cosmo, k.flatten() * h, a=1.).reshape(k.shape) because my pyccl version generates 1D power spectra, while array k is 3D.

However, the reshape at line 565,570,575 fails, maybe it is not needed here?

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