Skip to content
Snippets Groups Projects
Verified Commit e19ac9e9 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Testsuite: increase numerical tolerance for sw_minimal.mod test

Needed for some runners, e.g. lupi

(cherry picked from commit 7f02fe5a)
parent 1f060cb8
No related branches found
No related tags found
No related merge requests found
......@@ -425,7 +425,7 @@ Sigmay_min = minSS.C*Sigmax_min*minSS.C' + minSS.D*M_.Sigma_e*minSS.D';
([Sigmay_full(:) - Sigmay_min(:)]')
sqrt(([diag(Sigmay_full), diag(Sigmay_min)]'))
dx = norm( Sigmay_full - Sigmay_min, Inf);
if dx > 1e-8
if dx > 2e-8
error(sprintf('something wrong with minimal state space computations, as numerical error is %d',dx))
else
fprintf('numerical error for moments computed from minimal state system is %d\n',dx)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment