Skip to content

Commit

Permalink
Update turtleSet() to used the fixed version of rbind.agentmatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahBauduin committed Apr 19, 2024
1 parent c00c080 commit 6477da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/turtle-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -2679,7 +2679,7 @@ setMethod(
}

# if (do.call(all.equal, lapply(dots, colnames))) {
allTurtles <- do.call(rbind, lapply(dots, function(x) x))
allTurtles <- do.call(rbind.agentmatrix, lapply(dots, function(x) x))
# } else {
# allTurtles <- as.data.frame(rbindlist(lapply(dots, function(x) {
# inspect(x, who = of(agents = x, var = "who"))}), fill = TRUE))
Expand Down

0 comments on commit 6477da9

Please sign in to comment.