From 183b48f52e5ae7d24752387648f6037d62bc3911 Mon Sep 17 00:00:00 2001 From: fjebaker Date: Tue, 1 Oct 2024 22:04:13 +0100 Subject: [PATCH] style: apply julia formatter --- src/xspec-models/additive.jl | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/src/xspec-models/additive.jl b/src/xspec-models/additive.jl index 9e7b3d91..61465674 100644 --- a/src/xspec-models/additive.jl +++ b/src/xspec-models/additive.jl @@ -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." @@ -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, @@ -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,