Fix bug in dynare_identification.m that led to missing output and crashes if the initial parameterization was invalid
If the initial parameters did not solve, the code for displaying results and saving was not reached. The also led to later crashes with saving as the -append option was used and no file existed. If no valid draw can be found, the function exits in any case, so no additional check is needed.time-shift
parent
0efcef8f20
commit
4c6aad3d2d
|
@ -328,7 +328,7 @@ if iload <=0,
|
|||
else
|
||||
parameters = 'Random_prior_params';
|
||||
end
|
||||
else
|
||||
end
|
||||
idehess_point.params=params;
|
||||
% siH = idemodel_point.siH;
|
||||
% siJ = idemoments_point.siJ;
|
||||
|
@ -342,7 +342,6 @@ if iload <=0,
|
|||
if ~options_.nograph,
|
||||
plot_identification(params,idemoments_point,idehess_point,idemodel_point,idelre_point,advanced,parameters,name,IdentifDirectoryName);
|
||||
end
|
||||
end
|
||||
|
||||
if SampleSize > 1,
|
||||
skipline()
|
||||
|
|
Loading…
Reference in New Issue