Skip to content

Commit

Permalink
fix: runtime dispatch in replace!
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Apr 30, 2024
1 parent 51fd8c5 commit 009a741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/parameter_buffer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function _update_tuple_helper(buf_v::T, raw, idx) where {T}
end

function _update_tuple_helper(::Type{<:AbstractArray}, buf_v, raw, idx)
ntuple(i -> _update_tuple_helper(buf_v[i], raw, idx), Val(length(buf_v)))
ntuple(i -> _update_tuple_helper(buf_v[i], raw, idx), length(buf_v))

Check warning on line 193 in src/systems/parameter_buffer.jl

View check run for this annotation

Codecov / codecov/patch

src/systems/parameter_buffer.jl#L193

Added line #L193 was not covered by tests
end

function _update_tuple_helper(::Any, buf_v, raw, idx)
Expand Down

0 comments on commit 009a741

Please sign in to comment.