tests/block_bytecode/lola_stochastic_block.mod: increase test tolerance on ghx

Needed for Octave on haumea.
pac-components
Sébastien Villemot 2021-09-28 12:45:42 +02:00
parent 9fd0806643
commit 191cb05f87
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ ref = load(['lola_stochastic' filesep 'Output' filesep 'lola_stochastic_results.
/* NB: With block, the rows of ghx and ghu are in declaration order (and not in
DR-order as in non-block mode) */
if max(max(abs(oo_.dr.ghx(:, state_reorder) - ref.oo_.dr.ghx(ref.oo_.dr.inv_order_var, ref_state_reorder)))) > 2e-9
if max(max(abs(oo_.dr.ghx(:, state_reorder) - ref.oo_.dr.ghx(ref.oo_.dr.inv_order_var, ref_state_reorder)))) > 3e-9
error('Error in ghx')
end