From 8a642d5b741a0fd571176aca4b99fc8a4e19bfb0 Mon Sep 17 00:00:00 2001 From: Mikhail Mikhasenko Date: Tue, 4 Jun 2024 16:49:44 +0200 Subject: [PATCH] redundant call definition --- docs/julia/lb2pkg-lhcb-2765817.qmd | 3 --- docs/julia/lc2ppik-lhcb-2683025.qmd | 3 --- docs/julia/x2pipipi-compass-1391643.qmd | 3 --- 3 files changed, 9 deletions(-) diff --git a/docs/julia/lb2pkg-lhcb-2765817.qmd b/docs/julia/lb2pkg-lhcb-2765817.qmd index 3fadef5..3eee650 100644 --- a/docs/julia/lb2pkg-lhcb-2765817.qmd +++ b/docs/julia/lb2pkg-lhcb-2765817.qmd @@ -50,9 +50,6 @@ end function ThreeBodyDecaysIO.dict2instance(::Type{Constant}, dict) return Constant() end - -# type piracy, not good -(bw::HadronicLineshapes.AbstractFlexFunc)(x::AbstractDict) = bw(first(values(x))) ``` ## Deserialization of Objects to a Workspace diff --git a/docs/julia/lc2ppik-lhcb-2683025.qmd b/docs/julia/lc2ppik-lhcb-2683025.qmd index 7c78548..95ec115 100644 --- a/docs/julia/lc2ppik-lhcb-2683025.qmd +++ b/docs/julia/lc2ppik-lhcb-2683025.qmd @@ -59,9 +59,6 @@ function ThreeBodyDecaysIO.dict2instance(::Type{BreitWignerWidthExpLikeBugg}, di @unpack mass, width, slope = dict return BreitWignerWidthExpLikeBugg(mass, width, slope) end - -# type piracy, not good -(bw::HadronicLineshapes.AbstractFlexFunc)(x::AbstractDict) = bw(first(values(x))) ``` ## Deserialization of Objects to a Workspace diff --git a/docs/julia/x2pipipi-compass-1391643.qmd b/docs/julia/x2pipipi-compass-1391643.qmd index 2cb066e..b1d8f56 100644 --- a/docs/julia/x2pipipi-compass-1391643.qmd +++ b/docs/julia/x2pipipi-compass-1391643.qmd @@ -72,9 +72,6 @@ function ThreeBodyDecaysIO.dict2instance(::Type{KatchaevSigma}, dict) @unpack poles, residues, nonpole_expansion_coeffs = dict return KatchaevSigma(poles, residues, nonpole_expansion_coeffs) end - -# type piracy, not good -(bw::HadronicLineshapes.AbstractFlexFunc)(x::AbstractDict) = bw(first(values(x))) ``` ## Deserialization of Objects to a Workspace