Skip to content

Commit

Permalink
Update include/jlcxx/array.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jameson Nash <[email protected]>
  • Loading branch information
benlorenz and vtjnash authored Oct 30, 2023
1 parent 92af986 commit 22e2b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/jlcxx/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class Array
jl_value_t** data = jlcxx_array_data<jl_value_t*>(m_array);
jl_value_t* jval = box<ValueT>(val);
data[pos] = jval;
jl_gc_wb(m_array, jval);
jl_gc_wb(jl_array_owner(m_array), jval);
JL_GC_POP();
}

Expand Down

0 comments on commit 22e2b6d

Please sign in to comment.