Skip to content

Commit

Permalink
simplified noop in convert
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Hernandez Acosta committed Oct 7, 2024
1 parent 6883d18 commit b230698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name = "QEDcore"
uuid = "35dc0263-cb5f-4c33-a114-1d7f54ab753e"
authors = [
"Uwe Hernandez Acosta <u.hernandez@hzdr.de>",
"Anton Reinhard <a.reinhard@hzdr.de>",
]
authors = ["Uwe Hernandez Acosta <u.hernandez@hzdr.de>", "Anton Reinhard <a.reinhard@hzdr.de>"]
version = "0.1.1"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
LorentzVectors = "3f54b04b-17fc-5cd4-9758-90c048d965e3"
QEDbase = "10e22c08-3ccb-4172-bfcf-7d7aa3d04d93"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"
Expand Down
4 changes: 1 addition & 3 deletions src/lorentz_boost/boost_parameter/boost_axis/convert.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ function Base.convert(
) where {T<:Real,B1<:AbstractAxisBoostParameter{T},B2<:AbstractAxisBoostParameter}
return B1(T(d.param))
end
function Base.convert(
::Type{B1}, d::B2
) where {T<:Real,B1<:AbstractAxisBoostParameter{T},B2<:AbstractAxisBoostParameter{T}}
function Base.convert(::Type{B}, d::B) where {B<:AbstractAxisBoostParameter}
return d
end

0 comments on commit b230698

Please sign in to comment.