Skip to content

Commit

Permalink
Syntax fix (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Aug 9, 2023
1 parent 15da6cd commit 843a929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/poistaTyhjatPopulaatiot.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ poistaTyhjatPopulaatiot <- function(npops) {
LOGDIFF <- LOGDIFF[, notEmpty]

for (n in 1:length(notEmpty)) {
apu <- matlab2r::find(PARTITION == notEmpty(n))
apu <- matlab2r::find(PARTITION == notEmpty[n])
PARTITION[apu] <- n
}
npops <- length(notEmpty)
Expand Down

0 comments on commit 843a929

Please sign in to comment.