From d1e567c3269c4aa3e91e496031818754218ed088 Mon Sep 17 00:00:00 2001 From: Waldir Leoncio Date: Wed, 10 Apr 2024 15:07:51 +0200 Subject: [PATCH] Syntax fix to `indMix()` (#24) --- R/indMix.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/indMix.R b/R/indMix.R index d17853f..95d85f3 100644 --- a/R/indMix.R +++ b/R/indMix.R @@ -512,7 +512,7 @@ indMix <- function(c, npops, counts = NULL, sumcounts = NULL, max_iter = 100L, d } if (muutoksia == 0) { if (vaihe <= 4) { - vaihe <= vaihe + 1 + vaihe <- vaihe + 1 } else if (vaihe == 5) { ready <- 1 }