aboutsummaryrefslogtreecommitdiff
path: root/R/parms.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2023-02-13 05:19:08 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2023-02-13 05:19:08 +0100
commit8d1a84ac2190538ed3bac53a303064e281595868 (patch)
treeacb894d85ab7ec87c4911c355a5264a77e08e34b /R/parms.R
parent51d63256a7b3020ee11931d61b4db97b9ded02c0 (diff)
parent4200e566ad2600f56bc3987669aeab88582139eb (diff)
Merge branch 'main' into custom_lsoda_call
Diffstat (limited to 'R/parms.R')
-rw-r--r--R/parms.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/parms.R b/R/parms.R
index bd4e479b..bb04a570 100644
--- a/R/parms.R
+++ b/R/parms.R
@@ -77,6 +77,6 @@ parms.multistart <- function(object, exclude_failed = TRUE, ...) {
successful <- which(!is.na(res[, 1]))
first_success <- successful[1]
colnames(res) <- names(parms(object[[first_success]]))
- if (exclude_failed) res <- res[successful, ]
+ if (exclude_failed[1]) res <- res[successful, ]
return(res)
}

Contact - Imprint