Skip to content

More descriptive TypeError from #dot #614

@v0dro

Description

@v0dro

The #dot method gives the following error if you don't supply it the correct type:

/ruby-2.3.3/gems/nmatrix-lapacke-0.2.4/lib/nmatrix/lapack_ext_common.rb:66:in `dot': expected NMatrix on left-hand side of operation (TypeError)

A good error message should tell us the wrong type that is being passed too for easier debugging.

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