Skip to content

Commit

Permalink
Make sure sigma=1 #429
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Nov 19, 2020
1 parent c286ef3 commit b7c7ccd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/nlmixr.R
Expand Up @@ -927,6 +927,9 @@ nlmixrEst.nlme <- function(env, ...) {
if (!is.null(control$rtol)) .rtol <- control$rtol
.maxsteps <- 5000
if (!is.null(control$maxstepsOde)) .maxsteps <- control$maxstepsOde
if (is(weight, "varConstProp")) {
control$sigma <- 1
}
fit <- nlme_ode(dat,
model = rxode,
par_model = specs,
Expand Down

0 comments on commit b7c7ccd

Please sign in to comment.