Skip to content

Commit

Permalink
Fix argument type of fit_enc_sigmas
Browse files Browse the repository at this point in the history
  • Loading branch information
fhagemann committed Mar 2, 2025
1 parent 391ed7e commit 4a43dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter_optimization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Fit the ENC values in `enc_grid` for each RT in `enc_grid_rt` with a Gaussian an
- `rt`: optimal RT value
- `min_enc`: corresponding ENC value
"""
function fit_enc_sigmas(enc_grid::Matrix{T}, enc_grid_rt::StepRangeLen{Quantity{<:T}, Base.TwicePrecision{Quantity{<:T}}, Base.TwicePrecision{Quantity{<:T}}, Int64}, min_enc::T, max_enc::T, nbins::Int64, rel_cut_fit::T) where T<:Real
function fit_enc_sigmas(enc_grid::Matrix{T}, enc_grid_rt::StepRangeLen{<:Quantity{<:T}, <:Base.TwicePrecision{<:Quantity{<:T}}, <:Base.TwicePrecision{<:Quantity{<:T}}, Int64}, min_enc::T, max_enc::T, nbins::Int64, rel_cut_fit::T) where T<:Real

Check warning on line 18 in src/filter_optimization.jl

View check run for this annotation

Codecov / codecov/patch

src/filter_optimization.jl#L18

Added line #L18 was not covered by tests
@assert size(enc_grid, 1) == length(enc_grid_rt) "enc_grid and enc_grid_rt must have the same number of columns"

# create empty array for results
Expand Down

0 comments on commit 4a43dfa

Please sign in to comment.