From c38a58f9a312b65b98e35903e6b7184fedb64b07 Mon Sep 17 00:00:00 2001 From: Ran Gal Date: Tue, 25 Jan 2022 14:15:08 -0800 Subject: [PATCH] fixed the geometry's transpose function --- src/Geometry/Transform.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Geometry/Transform.jl b/src/Geometry/Transform.jl index c25993a10..068f1bdc6 100644 --- a/src/Geometry/Transform.jl +++ b/src/Geometry/Transform.jl @@ -209,7 +209,7 @@ id*m #returns a matrix filled with Unitful quantities. If both matrices had to b """ Base.:*(transform::Transform{T},m::SMatrix{4,N,S}) where{N,T<:Real,S<:Number} = matrix(transform)*m -Base.transpose(a::Transform{T}) where{T<:Real} = Transform{T}(a') +Base.transpose(a::Transform{T}) where{T<:Real} = Transform{T}(a.matrix') # END of functions for compatibility with base matrix API