Skip to content

Commit

Permalink
remove extra show method
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Dec 12, 2020
1 parent 0710c5e commit 3fd4c6e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/complex.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
function Base.show(io::IO, p::Complex{<:AbstractParticles})
print(io, to_num_str(p, 3))
end

for PT in (:Particles, :StaticParticles)
@eval begin
Base.promote_rule(::Type{Complex{S}}, ::Type{$PT{T,N}}) where {S<:Real,T<:Real,N} = Complex{$PT{promote_type(S,T),N}}
Expand Down

0 comments on commit 3fd4c6e

Please sign in to comment.