Skip to content

Commit

Permalink
Fix bug in coda statement and do not accelerate burnin by thin
Browse files Browse the repository at this point in the history
  • Loading branch information
rsparapa committed Nov 7, 2015
1 parent ff8e649 commit ba3bcdb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lisp/ess-jags-d.el
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,16 @@
(insert "data in \"" ess-bugs-file-root ".jdt\"\n")
(insert (ess-replace-in-string ess-jags-temp-chains "##" "in"))
(insert "initialize\n")
(insert "update " (format "%d" (* jags-thin jags-burnin)) "\n")
;(insert "update " (format "%d" (* jags-thin jags-burnin)) "\n")
(insert "update " (format "%d" jags-burnin) "\n")
(insert ess-jags-temp-monitor)
(insert "update " (format "%d" (* jags-thin jags-update)) "\n")
(insert (ess-replace-in-string
(ess-replace-in-string ess-jags-temp-chains
"compile, nchains([0-9]+)" "#") "##" "to"))
(insert "coda "
(if ess-microsoft-p (if (w32-shell-dos-semantics) "*" "\\*") "\\*")
", stem(\"" ess-bugs-file-root "\")\n")
;(if ess-microsoft-p (if (w32-shell-dos-semantics) "*" "\\*") "\\*")
"*, stem(\"" ess-bugs-file-root "\")\n")

(if ess-jags-system (progn
(insert "system rm -f " ess-bugs-file-root ".ind\n")
Expand Down

0 comments on commit ba3bcdb

Please sign in to comment.