Skip to content

Commit

Permalink
fix typo in comment (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium authored Nov 10, 2023
1 parent 520e072 commit ca676d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/angleaxis_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ end
params(aa::RotationVec) = SVector{3}(aa.sx, aa.sy, aa.sz)

# StaticArrays will take over *all* the constructors and put everything in a tuple...
# but this isn't quite what we mean when we have 4 inputs (not 9).
# but this isn't quite what we mean when we have 3 inputs (not 9).
@inline RotationVec(x::X, y::Y, z::Z) where {X,Y,Z} = RotationVec{promote_type(promote_type(X, Y), Z)}(x, y, z)

# These functions are enough to satisfy the entire StaticArrays interface:
Expand Down

0 comments on commit ca676d3

Please sign in to comment.