Fix copy and paste error introduced in 3c9b031bd1

time-shift
Johannes Pfeifer 2015-07-21 16:18:15 +02:00
parent 2d8e6e2c83
commit 319f73434c
1 changed files with 2 additions and 2 deletions

View File

@ -293,9 +293,9 @@ end
%%read out calibration that was set in mod-file and can be used for initialization
xparam1_calib=get_all_parameters(estim_params_,M_); %get calibrated parameters
if ~any(isnan(xparam1_calib)) %all estimated parameters are calibrated
estim_params_.full_calibration_detected.full_calibration_detected=1;
estim_params_.full_calibration_detected=1;
else
estim_params_.full_calibration_detected.full_calibration_detected=0;
estim_params_.full_calibration_detected=0;
end
if options_.use_calibration_initialization %set calibration as starting values
[xparam1,estim_params_]=do_parameter_initialization(estim_params_,xparam1_calib,xparam1); %get explicitly initialized parameters that have precedence to calibrated values