Skip to content

Cast warning when trying to convert nan to int in WFDB #114

@briangow

Description

@briangow

When trying to convert a nan to an int you will get a warning:

RuntimeWarning: invalid value encountered in cast

As explained in MIT-LCP/wfdb-python#481 this is expected and has been circumvented in the latest WFDB code. This update isn't in the current release of WFDB though (v4.1.2). Therefore, I'm adding an issue here so it is clear that this is expected and isn't a problem.

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