Merge branch 'outputs' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2238covariance-quadratic-approximation
commit
346d2acbdf
|
@ -75,8 +75,8 @@ function w = matrictint(S, df, XXi)
|
|||
|
||||
k=size(XXi,1);
|
||||
ny=size(S,1);
|
||||
cx = chol(XXi);
|
||||
cs = chol(S);
|
||||
[cx,p] = chol(XXi); %second output required to prevent error
|
||||
[cs,p] = chol(S); %second output required to prevent error
|
||||
|
||||
if any(diag(cx)<100*eps)
|
||||
error('singular XXi')
|
||||
|
|
|
@ -240,7 +240,7 @@ end
|
|||
% https://forum.dynare.org/t/issue-with-dynare-preprocessor-4-6-1/15448/1
|
||||
if ~fast
|
||||
if ispc && ~isoctave && exist(['+',fname(1:end-4)],'dir')
|
||||
rmdir(['+', fname(1:end-4)],'s');
|
||||
[~,~]=rmdir(['+', fname(1:end-4)],'s'); % output required to suppress triggering error
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -893,7 +893,7 @@ switch Strategy
|
|||
end
|
||||
|
||||
if isempty(dir('dynareParallelLogFiles'))
|
||||
rmdir('dynareParallelLogFiles');
|
||||
[~,~]=rmdir('dynareParallelLogFiles'); %use outputs to not trigger hard error
|
||||
mkdir('dynareParallelLogFiles');
|
||||
end
|
||||
try
|
||||
|
@ -911,7 +911,7 @@ switch Strategy
|
|||
delete('temp_input.mat')
|
||||
if newInstance
|
||||
if isempty(dir('dynareParallelLogFiles'))
|
||||
rmdir('dynareParallelLogFiles');
|
||||
[~,~]=rmdir('dynareParallelLogFiles'); %use outputs to not trigger hard error
|
||||
mkdir('dynareParallelLogFiles');
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue