Skip to content

Commit

Permalink
chore: format code of branch "main" (#257)
Browse files Browse the repository at this point in the history
Co-authored-by: mofeing <15837247+mofeing@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and mofeing authored Nov 10, 2024
1 parent af36898 commit df04f34
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 df04f34

Please sign in to comment.