From 85c8c01816b22f194be78a13981eeb8bdbf08b89 Mon Sep 17 00:00:00 2001 From: Waldir Leoncio Date: Wed, 9 Aug 2023 15:11:54 +0200 Subject: [PATCH] Syntax fix (#25) --- R/indMix.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/indMix.R b/R/indMix.R index 5d7573c..394eef2 100644 --- a/R/indMix.R +++ b/R/indMix.R @@ -138,7 +138,7 @@ indMix <- function(c, npops, counts = NULL, sumcounts = NULL, max_iter = 100L, d message(paste("Performing steps:", as.character(roundTypes))) } - for (n in seq_len(roundTypes)) { + for (n in seq_along(roundTypes)) { round <- roundTypes[n] kivaluku <- 0