Skip to content

Commit

Permalink
fixes #182
Browse files Browse the repository at this point in the history
  • Loading branch information
Siel committed Sep 22, 2023
1 parent 4fff497 commit 924ee36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/SIMrun.R
Original file line number Diff line number Diff line change
Expand Up @@ -808,8 +808,8 @@ SIMrun <- function(poppar, limits = NULL, model, data, split,
# get prior density
getSimPrior <- function(i) {
# get prior density
if (inherits(poppar, "PM_final")) {
if (split & inherits(poppar, "NPAG")) {
if (inherits(poppar, "NPAG")) {
if (split) {
popPoints <- poppar$popPoints
ndist <- nrow(popPoints)
if (ndist > 30) {
Expand Down

0 comments on commit 924ee36

Please sign in to comment.