You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I happened to come across the fact that in barrier.cpp you have
// [[Rcpp::register]] void set_string_elt(SEXP x, int i, SEXP value) { STRING_ELT(x, i) = value; }
You can't to that -- using STRING_ELT(x, i) as a LHS breaks the write
barrier and also would mess up reference counting. You have to use SET_VECTOR_ELT.
Correction forthcoming. Appears to only affect barrier.cpp.
The text was updated successfully, but these errors were encountered:
Luke Tierney emailed me:
Correction forthcoming. Appears to only affect
barrier.cpp
.The text was updated successfully, but these errors were encountered: