SourceForge has been redesigned. Learn more.
Close

Diff of /R/jags.R [02f130] .. [db6820]  Maximize  Restore

Switch to side-by-side view

--- a/R/jags.R
+++ b/R/jags.R
@@ -112,7 +112,7 @@
         }
             
         for (i in 1:nchain) {
-            if (!checkParameters(inits[[i]])) {
+            if (!checkParameters(init.values[[i]])) {
                 stop("Invalid parameters for chain ", i)
             }
             setParameters(init.values[[i]], i)