Skip to content

Commit

Permalink
Fix Hessian/Pointers test
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailMihov committed Mar 19, 2024
1 parent e4d6b35 commit 25c7591
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/Hessian/Pointers.C
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oPointers.out
// RUN: ./Pointers.out | FileCheck -check-prefix=CHECK-EXEC %s
// CHECK-NOT: {{.*error|warning|note:.*}}
// XFAIL: target={{i586.*}}

#include "clad/Differentiator/Differentiator.h"

Expand Down Expand Up @@ -54,8 +53,8 @@ double nonMemFn(double i, double j) {
// CHECK-NEXT: }

// CHECK: void nonMemFn_hessian(double i, double j, clad::array_ref<double> hessianMatrix) {
// CHECK-NEXT: nonMemFn_darg0_grad(i, j, hessianMatrix.slice(0UL, 1UL), hessianMatrix.slice(1UL, 1UL));
// CHECK-NEXT: nonMemFn_darg1_grad(i, j, hessianMatrix.slice(2UL, 1UL), hessianMatrix.slice(3UL, 1UL));
// CHECK-NEXT: nonMemFn_darg0_grad(i, j, hessianMatrix.slice({{0U|0UL}}, {{1U|1UL}}), hessianMatrix.slice({{1U|1UL}}, {{1U|1UL}}));
// CHECK-NEXT: nonMemFn_darg1_grad(i, j, hessianMatrix.slice({{2U|2UL}}, {{1U|1UL}}), hessianMatrix.slice({{3U|3UL}}, {{1U|1UL}}));
// CHECK-NEXT: }

#define NON_MEM_FN_TEST(var)\
Expand Down

0 comments on commit 25c7591

Please sign in to comment.