Permalink
Browse files

Ported 62242 (comment fix) from trunk.

git-svn-id: https://svn.r-project.org/R/branches/R-2-15-branch@62244 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
1 parent e0a79a4 commit e74bf1333b57d81774db18e0750480472b56e582 luke committed Mar 13, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/subset.c
View
@@ -46,7 +46,8 @@
static R_INLINE SEXP VECTOR_ELT_FIX_NAMED(SEXP y, int i) {
/* if RHS (container or element) has NAMED > 0 set NAMED = 2.
- Duplicating might be safer/more consistent (**** PR15098) */
+ Duplicating might be safer/more consistent (fix bug reported by
+ Radford Neal; similar to PR15098) */
SEXP val = VECTOR_ELT(y, i);
if ((NAMED(y) || NAMED(val)))
if (NAMED(val) < 2)

0 comments on commit e74bf13

Please sign in to comment.