Skip to content

Commit

Permalink
fix use of rbind.agentMatrix (not rbind.agentmatrix)
Browse files Browse the repository at this point in the history
with #50
  • Loading branch information
achubaty committed Apr 25, 2024
1 parent 6104fc2 commit 54949f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/turtle-functions.R
Expand Up @@ -2679,7 +2679,7 @@ setMethod(
}

# if (do.call(all.equal, lapply(dots, colnames))) {
allTurtles <- do.call(rbind.agentmatrix, 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 54949f8

Please sign in to comment.