Skip to content

Commit

Permalink
tuple types instead
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Dec 26, 2022
1 parent 7bd2bab commit 06e2e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ParametricUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function cost_cfp(
@nospecialize(p::AbstractArray),
vi::NTuple{N, Int},
) where N
cfp(((v->p[v]).(vi))...)
cfp(map(v->p[v],vi)...)
end
# function cost_cfp(
# @nospecialize(cfp::CalcFactorMahalanobis),
Expand Down

0 comments on commit 06e2e32

Please sign in to comment.