From 2739442541c6988bc608e51be6e21f069b4d337a Mon Sep 17 00:00:00 2001 From: Waldir Leoncio Date: Wed, 9 Aug 2023 15:09:07 +0200 Subject: [PATCH] Delayed resolution of FIXMEs (#25) --- R/indMix.R | 4 ---- 1 file changed, 4 deletions(-) diff --git a/R/indMix.R b/R/indMix.R index 6d67cec..5d7573c 100644 --- a/R/indMix.R +++ b/R/indMix.R @@ -132,7 +132,6 @@ indMix <- function(c, npops, counts = NULL, sumcounts = NULL, max_iter = 100L, d warning("max_iter reached. Stopping prematurely.") break } - # FIXME: loop caught in here muutoksia <- 0 if (dispText) { @@ -154,7 +153,6 @@ indMix <- function(c, npops, counts = NULL, sumcounts = NULL, max_iter = 100L, d for (ind in inds) { i1 <- PARTITION[ind] muutokset_diffInCounts <- greedyMix_muutokset$new() - # FIXME: using 100-length global variables instead of the ones in this function muutokset_diffInCounts <- muutokset_diffInCounts$laskeMuutokset( ind, rows, data, adjprior, priorTerm ) @@ -517,8 +515,6 @@ indMix <- function(c, npops, counts = NULL, sumcounts = NULL, max_iter = 100L, d } } } - # FIXME: muutoksia is never 0, so vaihe never equals 5 and ready 1 - # print(paste("i1 =", i1, "i2 =", i2, "maxMuutos =", maxMuutos)) # TEMP if (muutoksia == 0) { if (vaihe <= 4) { vaihe <= vaihe + 1