Skip to content

refactor puzzling loop in attributes.R #1327

@maelle

Description

@maelle

rigraph/R/attributes.R

Lines 557 to 564 in 36ad3c9

for (i in seq_along(value)) {
tmp <- value[[i]]
length(tmp) <- 0
length(tmp) <- length(vs)
tmp[index] <- value[[i]]
value[[i]] <- tmp
}
}

Metadata

Metadata

Assignees

Labels

upkeepmaintenance, infrastructure, and similar

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions