Skip to content

Usage of unsupported type causes runtime error #177

Open
@fekazar

Description

@fekazar

The following code will compile, but cause the runtime error because inferred type is Number which is unsupported.
val b = mk.ndarray(mk[1.0, 2]). Considering current library design, is it possible to move this check to compile time? Maybe numbers should be treated as Double?

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiCommon api

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions