Skip to content

Issue with longdouble in numpy #27

@rpgoldman

Description

@rpgoldman

I have this in some code:

logarr = np.fromiter(loglist, np.longdouble, -1)

which causes problems when using the numpy stubs:

simple_model_kl.py:20: error: Module has no attribute "longdouble"

I think it's correct to just add

class longdouble(floating): ...

to __init__.pyi

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