We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c4e96 commit b0ef41eCopy full SHA for b0ef41e
src/reorder.c
@@ -102,7 +102,7 @@ SEXP reorder(SEXP x, SEXP order)
102
}
103
104
// Unique and somber line. Not done lightly. Please read all comments in this file.
105
- memcpy(((char *)DATAPTR_RO(v)) + size*start, TMP, size*nmid);
+ memcpy((char *)DATAPTR_RO(v) + size*start, TMP, size*nmid);
106
// The one and only place in data.table where we write behind the write-barrier. Fundamental to setkey and data.table.
107
// This file is unique and special w.r.t. the write-barrier: an utterly strict in-place shuffle.
108
// This shuffle operation does not inc or dec named/refcnt, or anything similar in R: past, present or future.
0 commit comments