From f12263aab6586aeb0afaaf7dce7a7d82c81b290a Mon Sep 17 00:00:00 2001 From: Mihail Mihov Date: Tue, 19 Mar 2024 19:18:26 +0200 Subject: [PATCH] Fix Jacobian/FunctionCalls test --- test/Jacobian/FunctionCalls.C | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/test/Jacobian/FunctionCalls.C b/test/Jacobian/FunctionCalls.C index ea3966847..57cf0c11b 100644 --- a/test/Jacobian/FunctionCalls.C +++ b/test/Jacobian/FunctionCalls.C @@ -4,7 +4,6 @@ // RUN: ./FunctionCalls.out | FileCheck -check-prefix=CHECK-EXEC %s //CHECK-NOT: {{.*error|warning|note:.*}} -// XFAIL: target={{i586.*}} #include #include "clad/Differentiator/Differentiator.h" @@ -23,15 +22,15 @@ void fn1(double i, double j, double* output) { // CHECK-NEXT: double _r2 = 0; // CHECK-NEXT: double _r3 = 0; // CHECK-NEXT: clad::custom_derivatives::pow_pullback(j, i, 1, &_r2, &_r3); -// CHECK-NEXT: jacobianMatrix[3UL] += _r2; -// CHECK-NEXT: jacobianMatrix[2UL] += _r3; +// CHECK-NEXT: jacobianMatrix[{{3U|3UL}}] += _r2; +// CHECK-NEXT: jacobianMatrix[{{2U|2UL}}] += _r3; // CHECK-NEXT: } // CHECK-NEXT: { // CHECK-NEXT: double _r0 = 0; // CHECK-NEXT: double _r1 = 0; // CHECK-NEXT: clad::custom_derivatives::pow_pullback(i, j, 1, &_r0, &_r1); -// CHECK-NEXT: jacobianMatrix[0UL] += _r0; -// CHECK-NEXT: jacobianMatrix[1UL] += _r1; +// CHECK-NEXT: jacobianMatrix[{{0U|0UL}}] += _r0; +// CHECK-NEXT: jacobianMatrix[{{1U|1UL}}] += _r1; // CHECK-NEXT: } // CHECK-NEXT: } @@ -61,4 +60,4 @@ int main() { INIT(fn1); test<2>(DERIVED_FN(fn1), 3, 5); // CHECK-EXEC: {405.00, 266.96, 201.18, 75.00} -} \ No newline at end of file +}