From ca676d3fb2275c961cb00e9422e3f6f03ccb7cb1 Mon Sep 17 00:00:00 2001 From: Yuto Horikawa Date: Fri, 10 Nov 2023 22:29:32 +0900 Subject: [PATCH] fix typo in comment (#276) --- src/angleaxis_types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angleaxis_types.jl b/src/angleaxis_types.jl index 3c45605..12168d2 100644 --- a/src/angleaxis_types.jl +++ b/src/angleaxis_types.jl @@ -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: