From 745cd9e8a395838ba51766e9dc228ad0bb23df99 Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Tue, 21 Nov 2023 01:11:06 +0000 Subject: [PATCH] No need to redefine `identity` --- src/math.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math.jl b/src/math.jl index 02ca0b0e..8922d307 100644 --- a/src/math.jl +++ b/src/math.jl @@ -204,7 +204,7 @@ end ############################## Same dimension as input ################################## for f in ( :float, :abs, :real, :imag, :conj, :adjoint, :unsigned, - :nextfloat, :prevfloat, :identity, :transpose, :significand + :nextfloat, :prevfloat, :transpose, :significand ) @eval function Base.$f(q::UnionAbstractQuantity) return new_quantity(typeof(q), $f(ustrip(q)), dimension(q))