Skip to content

in exp() function, eps yields an error when used on an integer #39

@jane2L

Description

@jane2L

Using the quaternion package and instantiating quaternions of the shape
a = Quaternion(1,1,1,1)
the command
exp(a)
returned an error of the function eps : "no method matching eps(::Int64)". Maybe an automatic convert of the coordinates of the quaternion to Float could solve the problem?
In the meantime, I just changed my initialization for:
a = Quaternion(1.0,1.0,1.0,1.0) which lifted the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions