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 c2c3bfd commit db6b6b9Copy full SHA for db6b6b9
src/utils.c
@@ -272,10 +272,7 @@ void copySharedColumns(SEXP x) {
272
int nShared=0;
273
for (int i=0; i<ncol; ++i) {
274
SEXP thiscol = xp[i];
275
- if (
276
- hash_lookup(marks, thiscol, 0)<0
277
- || ALTREP(thiscol)
278
- ) {
+ if (ALTREP(thiscol) || hash_lookup(marks, thiscol, 0)<0) {
279
shared[i] = true; // we mark ALTREP as 'shared' too, whereas 'tocopy' would be better word to use for ALTREP
280
nShared++;
281
} else {
0 commit comments