Skip to content

Commit

Permalink
changed seq_along to seq_len in DAISIE_sim_cr_iw fix #144
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Jun 8, 2022
1 parent b1dbf67 commit 6659318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/DAISIE_sim_cr_iw.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DAISIE_sim_cr_iw <- function(total_time,
cond,
verbose) {
island_replicates <- list()
for (rep in seq_along(replicates)) {
for (rep in seq_len(replicates)) {
if (cond == 0) {
number_present <- -1
} else {
Expand Down

0 comments on commit 6659318

Please sign in to comment.