Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Implement _fill_array! for VectorTraceChoiceMap.
  • Loading branch information
femtomc committed Apr 18, 2022
commit ae0c19a9c651121576ad3bf149ecbed8ceae56df
2 changes: 1 addition & 1 deletion src/modeling_library/vector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function _fill_array!(chm::VectorTraceChoiceMap, v::Vector{T}, start_idx::Int64)
idx = start_idx
tr = chm.trace
for k in 1 : tr.len
sub_tr = chm.subtraces[k]
sub_tr = tr.subtraces[k]
sub_chm = get_choices(sub_tr)
n = _fill_array!(sub_chm, v, idx)
idx += n
Expand Down