Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
...@@ -48,7 +48,7 @@ MhDirectoryName = CheckPath('metropolis'); ...@@ -48,7 +48,7 @@ MhDirectoryName = CheckPath('metropolis');
nblck = options_.mh_nblck; nblck = options_.mh_nblck;
nruns = ones(nblck,1)*options_.mh_replic; nruns = ones(nblck,1)*options_.mh_replic;
npar = length(xparam1); npar = length(xparam1);
MAX_nruns = 300;%ceil(options_.MaxNumberOfBytes/(npar+2)/8); MAX_nruns = ceil(options_.MaxNumberOfBytes/(npar+2)/8);
d = chol(vv); d = chol(vv);
if ~options_.load_mh_file & ~options_.mh_recover if ~options_.load_mh_file & ~options_.mh_recover
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment