Skip to content

Revisit test for PointSource call with scalar input #258

@israelmcmc

Description

@israelmcmc

I think the check should be np.isscalar(result) instead of isinstance(result, float). Or maybe check for np.floating type. This was failing for me with a numpy singleton array,.

assert isinstance(result, float)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions