We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e148ff1 commit ee26771Copy full SHA for ee26771
src/complex.jl
@@ -1,7 +1,3 @@
1
-function Base.show(io::IO, p::Complex{<:AbstractParticles})
2
- print(io, to_num_str(p, 3))
3
-end
4
-
5
for PT in (:Particles, :StaticParticles)
6
@eval begin
7
Base.promote_rule(::Type{Complex{S}}, ::Type{$PT{T,N}}) where {S<:Real,T<:Real,N} = Complex{$PT{promote_type(S,T),N}}
0 commit comments