We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to #96, constructing an AngleAxis from a UnitQuaternion produces NaN derivative elements when using ForwardDiff:
AngleAxis
UnitQuaternion
NaN
ForwardDiff
julia> using Rotations julia> using ForwardDiff: Dual julia> q = UnitQuaternion(Dual(1.0, 0.0), Dual(0.0, 0.0), Dual(0.0, 0.0), Dual(0.0, 0.0)) 3×3 UnitQuaternion{Dual{Nothing,Float64,1}} with indices SOneTo(3)×SOneTo(3)(Dual{Nothing}(1.0,0.0), Dual{Nothing}(0.0,0.0), Dual{Nothing}(0.0,0.0), Dual{Nothing}(0.0,0.0)): Dual{Nothing}(1.0,0.0) Dual{Nothing}(0.0,0.0) Dual{Nothing}(0.0,0.0) Dual{Nothing}(0.0,0.0) Dual{Nothing}(1.0,0.0) Dual{Nothing}(0.0,0.0) Dual{Nothing}(0.0,0.0) Dual{Nothing}(0.0,0.0) Dual{Nothing}(1.0,0.0) julia> AngleAxis(q) 3×3 AngleAxis{Dual{Nothing,Float64,1}} with indices SOneTo(3)×SOneTo(3)(Dual{Nothing}(0.0,NaN), Dual{Nothing}(1.0,NaN), Dual{Nothing}(0.0,NaN), Dual{Nothing}(0.0,NaN)): Dual{Nothing}(1.0,NaN) Dual{Nothing}(0.0,NaN) Dual{Nothing}(0.0,NaN) Dual{Nothing}(0.0,NaN) Dual{Nothing}(1.0,NaN) Dual{Nothing}(0.0,NaN) Dual{Nothing}(0.0,NaN) Dual{Nothing}(0.0,NaN) Dual{Nothing}(1.0,NaN)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Similar to #96, constructing an
AngleAxis
from aUnitQuaternion
producesNaN
derivative elements when usingForwardDiff
:The text was updated successfully, but these errors were encountered: