From 5d3b4801a38f6dcad29af705d7d9eac07ae37c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Fri, 15 Apr 2022 14:33:02 +0200 Subject: [PATCH] Octave 7 compatibility fix: increase test tolerance --- tests/external_function/no_deriv_given_dll.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/external_function/no_deriv_given_dll.mod b/tests/external_function/no_deriv_given_dll.mod index 5ad3bcc2ea..8c2ed920a6 100644 --- a/tests/external_function/no_deriv_given_dll.mod +++ b/tests/external_function/no_deriv_given_dll.mod @@ -55,7 +55,7 @@ end if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-4 error('Failure in external function') end -if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-3 +if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 2e-3 error('Failure in external function') end if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-5 -- GitLab