Skip to content

Commit 745cd9e

Browse files
committed
No need to redefine identity
1 parent 4667128 commit 745cd9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ end
204204
############################## Same dimension as input ##################################
205205
for f in (
206206
:float, :abs, :real, :imag, :conj, :adjoint, :unsigned,
207-
:nextfloat, :prevfloat, :identity, :transpose, :significand
207+
:nextfloat, :prevfloat, :transpose, :significand
208208
)
209209
@eval function Base.$f(q::UnionAbstractQuantity)
210210
return new_quantity(typeof(q), $f(ustrip(q)), dimension(q))

0 commit comments

Comments
 (0)