Skip to content

Commit

Permalink
Delayed resolution of FIXMEs (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Aug 9, 2023
1 parent bcdfc5d commit 2739442
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/indMix.R
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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
)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2739442

Please sign in to comment.