-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
julia> 1.0 * imz # This returns a QuatVec, as expected
+ 0.0𝐢 + 0.0𝐣 + 1.0𝐤
julia> @fastmath 1.0 * imz # This returns a Quaternion!
0.0 + 0.0𝐢 + 0.0𝐣 + 1.0𝐤Under the covers, the second version is calling
Base.FastMath.mul_fast(s::Float64, q::QuatVecF64)which returns a QuaternionF64. I guess this has to do with the fact that I explicitly delineate the various combinations for Base.:*, but don't do so for mul_fast.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working