Skip to content

Commit

Permalink
Fix Gradient/Assignments test on i586
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailMihov committed Mar 19, 2024
1 parent 3bc2e9a commit a48722e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/Gradient/Assignments.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 -oReverseAssignments.out
// RUN: ./ReverseAssignments.out | FileCheck -check-prefix=CHECK-EXEC %s
//CHECK-NOT: {{.*error|warning|note:.*}}
// XFAIL: target={{i586.*}}

#include "clad/Differentiator/Differentiator.h"
#include <cmath>
Expand Down Expand Up @@ -281,7 +280,7 @@ double f7(double x, double y) {
}

//CHECK: void f7_grad(double x, double y, clad::array_ref<double> _d_x, clad::array_ref<double> _d_y) {
//CHECK-NEXT: clad::array<double> _d_t(3UL);
//CHECK-NEXT: clad::array<double> _d_t({{3U|3UL}});
//CHECK-NEXT: double _t0;
//CHECK-NEXT: double _t1;
//CHECK-NEXT: double _t2;
Expand Down Expand Up @@ -373,7 +372,7 @@ double f8(double x, double y) {
}

//CHECK: void f8_grad(double x, double y, clad::array_ref<double> _d_x, clad::array_ref<double> _d_y) {
//CHECK-NEXT: clad::array<double> _d_t(4UL);
//CHECK-NEXT: clad::array<double> _d_t({{4U|4UL}});
//CHECK-NEXT: double _t0;
//CHECK-NEXT: double _t1;
//CHECK-NEXT: double _t2;
Expand Down

0 comments on commit a48722e

Please sign in to comment.