From 3c1f1ed78be490cee4f2d09ec8879dc1ded89eb1 Mon Sep 17 00:00:00 2001 From: Tim Siebert Date: Thu, 12 Dec 2024 09:03:37 +0100 Subject: [PATCH] add disableminmaxusingabs --- ADOL-C/boost-test/uni5_for.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ADOL-C/boost-test/uni5_for.cpp b/ADOL-C/boost-test/uni5_for.cpp index 1d98f63f..e3e19b2d 100644 --- a/ADOL-C/boost-test/uni5_for.cpp +++ b/ADOL-C/boost-test/uni5_for.cpp @@ -19,9 +19,6 @@ namespace tt = boost::test_tools; BOOST_AUTO_TEST_SUITE(uni5_for) BOOST_AUTO_TEST_CASE(Fmaxoperator_ZOS_PL_Forward) { - - enableMinMaxUsingAbs(); - const int16_t tag = 1; const int dim_out = 1; @@ -31,6 +28,7 @@ BOOST_AUTO_TEST_CASE(Fmaxoperator_ZOS_PL_Forward) { std::array indep; double out[] = {0.0}; + enableMinMaxUsingAbs(); // ---------------------- trace on --------------------- // function is given by fabs(in_2 + fabs(in_1 + fabs(in_0))) trace_on(tag); @@ -48,7 +46,7 @@ BOOST_AUTO_TEST_CASE(Fmaxoperator_ZOS_PL_Forward) { dep >>= out[0]; trace_off(); - + disableMinMaxUsingAbs(); // ---------------------- trace off --------------------- // test outout