Skip to content

Commit e62477f

Browse files
fix: runtime dispatch in replace!
1 parent 34c2507 commit e62477f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/parameter_buffer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function _update_tuple_helper(buf_v::T, raw, idx) where {T}
190190
end
191191

192192
function _update_tuple_helper(::Type{<:AbstractArray}, buf_v, raw, idx)
193-
ntuple(i -> _update_tuple_helper(buf_v[i], raw, idx), Val(length(buf_v)))
193+
ntuple(i -> _update_tuple_helper(buf_v[i], raw, idx), length(buf_v))
194194
end
195195

196196
function _update_tuple_helper(::Any, buf_v, raw, idx)

0 commit comments

Comments
 (0)