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
All my Rcpp method signatures for "numbers" are Rcpp::NumericVector. So, when passing in an integer vector (from R), it has to be coerced to a NumericVector, thus a copy is made, and hence the difference between the integer and numeric results.
I encountered some rather odd behaviour when using
colur_values_rgb
on a numeric vector. The vector gets modified by reference, see below.Any ideas?
The colours are identical, btw.
The text was updated successfully, but these errors were encountered: