Skip to content

Commit

Permalink
refactor WavelengthIndependentScatteringModel; reorder type parameter…
Browse files Browse the repository at this point in the history
…s for improved clarity
  • Loading branch information
Christian Haack committed Jan 24, 2025
1 parent cd97595 commit ffb68bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scattering.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ end
Struct for wavelength-independent scattering model.
"""
struct WavelengthIndependentScatteringModel{ F<:AbstractScatteringFunction, T} <: AbstractScatteringModel
struct WavelengthIndependentScatteringModel{T, F<:AbstractScatteringFunction} <: AbstractScatteringModel
scattering_function::F
scattering_length::T
end
Expand Down

0 comments on commit ffb68bf

Please sign in to comment.