Skip to content

BUG: all and any give UFuncTypeError #219

@SwayamInSync

Description

@SwayamInSync

Originally posted by @jorenham at #120 (comment)

Are there any plans for implementing all and any yet? Because I noticed that calling QuadPrecision(1).{all,any}() raises a UFuncTypeError at the moment.

Reason:
Because they underline call the logical_and and logical_or ufunc with <class 'numpy.dtypes.BoolDType'>, <class 'numpy_quaddtype.QuadPrecDType'>) -> <class 'numpy.dtypes.BoolDType'>
BUT currently those ufunc are only set to accept the arguments of type {&QuadPrecDType, &QuadPrecDType, &PyArray_BoolDType}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions