Skip to content

Commit

Permalink
chore: format code of branch "main" (EnzymeAD#257)
Browse files Browse the repository at this point in the history
Co-authored-by: mofeing <[email protected]>
  • Loading branch information
2 people authored and Pangoraw committed Nov 11, 2024
1 parent bdd1e1a commit baca996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TracedRNumber.jl
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function Base.imag(x::TracedRNumber{Complex{T}}) where {T}
)
end

Base.abs2(x::TracedRNumber) = abs(x) ^ 2
Base.abs2(x::TracedRNumber) = abs(x)^2

Base.log1p(x::TracedRNumber{T}) where {T} = log(x + one(T))

Expand Down

0 comments on commit baca996

Please sign in to comment.