Skip to content

Commit

Permalink
style: apply julia formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
fjebaker committed Oct 1, 2024
1 parent 060be2d commit 183b48f
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions src/xspec-models/additive.jl
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ invokemodel(energy, XS_Optxagnf())
E (keV)
```
"""
@xspecmodel :C_optxagnf struct XS_Optxagnf{T} <: AbstractSpectralModel{T, Additive}
@xspecmodel :C_optxagnf struct XS_Optxagnf{T} <: AbstractSpectralModel{T,Additive}
"Normalisation must be frozen."
K::T
"Black hole mass in solar masses."
Expand Down Expand Up @@ -801,13 +801,7 @@ function XS_Optxagnf(;
upper_limit = 10.0,
error = 0.01,
),
τ = FitParam(
10.0,
frozen = false,
lower_limit = 0.1,
upper_limit = 100.0,
error = 0.1,
),
τ = FitParam(10.0, frozen = false, lower_limit = 0.1, upper_limit = 100.0, error = 0.1),
Gamma = FitParam(
2.1,
frozen = false,
Expand All @@ -824,20 +818,7 @@ function XS_Optxagnf(;
),
z = FitParam(0.0, frozen = true, lower_limit = 0.0, upper_limit = 10.0, error = 1.0),
)
XS_Optxagnf(
K,
mass,
Dco,
logLoLEdd,
astar,
rcor,
logrout,
kT_e,
τ,
Gamma,
fpl,
z,
)
XS_Optxagnf(K, mass, Dco, logLoLEdd, astar, rcor, logrout, kT_e, τ, Gamma, fpl, z)
end

export XS_PowerLaw,
Expand Down

0 comments on commit 183b48f

Please sign in to comment.