Commit 3f924cc1 authored by stepan's avatar stepan
Browse files

* Fixed bug introduced in the previous commit (wrong value of Max_nruns).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2872 ac1d8469-bf42-47a9-8791-bf33cf982152
parent aa3a6fe1
......@@ -48,7 +48,7 @@ MhDirectoryName = CheckPath('metropolis');
nblck = options_.mh_nblck;
nruns = ones(nblck,1)*options_.mh_replic;
npar = length(xparam1);
MAX_nruns = 300;%ceil(options_.MaxNumberOfBytes/(npar+2)/8);
MAX_nruns = ceil(options_.MaxNumberOfBytes/(npar+2)/8);
d = chol(vv);
if ~options_.load_mh_file & ~options_.mh_recover
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment