Fix missing negation in check for fast Kalman filter

time-shift
Johannes Pfeifer 2016-06-16 22:03:10 +02:00 committed by Stéphane Adjemian (Hermes)
parent a7e3ecea63
commit 20e5d76d54
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ end
% fast kalman filter is only available with kalman_algo == 1,3
if options_.fast_kalman_filter
if (options_.kalman_algo == 1 || options_.kalman_algo == 3)
if ~(options_.kalman_algo == 1 || options_.kalman_algo == 3)
error(['estimation option conflict: fast_kalman_filter is only available ' ...
'with kalman_algo = 1 or kalman_algo = 3'])
elseif options_.block