diff --git a/tests/AIM/fs2000_b1L1L_AIM.mod b/tests/AIM/fs2000_b1L1L_AIM.mod index ffd5d5bb079d1e3b58cba41dc2afc3ffb7360348..eae3075983d6a9b2808b26f67e571062a23239d4 100644 --- a/tests/AIM/fs2000_b1L1L_AIM.mod +++ b/tests/AIM/fs2000_b1L1L_AIM.mod @@ -95,8 +95,8 @@ stoch_simul(aim_solver, order=1, irf=0); benchmark = load(['fs2000_b1L1L' filesep 'Output' filesep 'fs2000_b1L1L_results']); threshold = 1e-8; -if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx) > threshold)); +if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx))) > threshold error('error in ghx'); -elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu) > threshold)); - error('error in ghy'); -end; +elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu))) > threshold + error('error in ghu'); +end diff --git a/tests/AIM/fs2000x10L9_L_AIM.mod b/tests/AIM/fs2000x10L9_L_AIM.mod index e52b2db37dd8423a63116ffbef039fb1ef37def1..ed70ce04bbeac97dd0e34a44d4792091942bf5b3 100644 --- a/tests/AIM/fs2000x10L9_L_AIM.mod +++ b/tests/AIM/fs2000x10L9_L_AIM.mod @@ -79,8 +79,8 @@ stoch_simul(aim_solver, order=1,irf=0); benchmark = load(['fs2000x10L9_L' filesep 'Output' filesep 'fs2000x10L9_L_results']); threshold = 1e-8; -if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx) > threshold)); +if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx))) > threshold error('error in ghx'); -elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu) > threshold)); - error('error in ghy'); -end; +elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu))) > threshold + error('error in ghu'); +end diff --git a/tests/AIM/fs2000x10_L9_L_AIM.mod b/tests/AIM/fs2000x10_L9_L_AIM.mod index 92c5c2179b03c602ec5d66b56217d7ede7dd238f..012fc52487be434ecab1988668d4b269ded48bc6 100644 --- a/tests/AIM/fs2000x10_L9_L_AIM.mod +++ b/tests/AIM/fs2000x10_L9_L_AIM.mod @@ -60,8 +60,8 @@ stoch_simul(aim_solver, order=1,irf=0); benchmark = load(['fs2000x10_L9_L' filesep 'Output' filesep 'fs2000x10_L9_L_results']); threshold = 1e-8; -if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx) > threshold)); +if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx))) > threshold error('error in ghx'); -elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu) > threshold)); - error('error in ghy'); -end; +elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu))) > threshold + error('error in ghu'); +end diff --git a/tests/AIM/ls2003_2L0L_AIM.mod b/tests/AIM/ls2003_2L0L_AIM.mod index 175b85242638eac1e24cc80cacba3dd41488b10b..1a9d54152a64b83e949ecb954123b035dd874756 100644 --- a/tests/AIM/ls2003_2L0L_AIM.mod +++ b/tests/AIM/ls2003_2L0L_AIM.mod @@ -48,8 +48,8 @@ stoch_simul(aim_solver, order=1,irf=0); benchmark = load(['ls2003_2L0L' filesep 'Output' filesep 'ls2003_2L0L_results']); threshold = 1e-8; -if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx) > threshold)); +if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx))) > threshold error('error in ghx'); -elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu) > threshold)); - error('error in ghy'); -end; +elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu))) > threshold + error('error in ghu'); +end diff --git a/tests/AIM/ls2003_2L2L_AIM.mod b/tests/AIM/ls2003_2L2L_AIM.mod index 0fcef43fffc2ce4422c2d8f469e14e199804a2a3..12e53c306260bd64bce3dc042f5e838ecbee7817 100644 --- a/tests/AIM/ls2003_2L2L_AIM.mod +++ b/tests/AIM/ls2003_2L2L_AIM.mod @@ -46,9 +46,8 @@ stoch_simul(aim_solver, order=1,irf=0); benchmark = load(['ls2003_2L2L' filesep 'Output' filesep 'ls2003_2L2L_results']); threshold = 1e-8; -if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx) > threshold)); +if max(max(abs(benchmark.oo_.dr.ghx-oo_.dr.ghx))) > threshold error('error in ghx'); -elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu) > threshold)); - error('error in ghy'); -end; - +elseif max(max(abs(benchmark.oo_.dr.ghu-oo_.dr.ghu))) > threshold + error('error in ghu'); +end