Skip to content

Commit

Permalink
Fix test failure on master due to rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
vaithak committed Jun 15, 2024
1 parent 7044649 commit 1d1b5a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions test/Gradient/FunctionCalls.C
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,6 @@ double sq_defined_later(double x) {
// CHECK-NEXT: }

// CHECK: void custom_identity_pullback(double &i, double _d_y, double *_d_i) {
// CHECK-NEXT: goto _label0;
// CHECK-NEXT: _label0:
// CHECK-NEXT: *_d_i += _d_y;
// CHECK-NEXT: }

Expand Down Expand Up @@ -1055,4 +1053,4 @@ double sq_defined_later(double x) {

// CHECK: void ptrRef_pullback(double *&ptr_ref, double _d_y, double **_d_ptr_ref) {
// CHECK-NEXT: **_d_ptr_ref += _d_y;
// CHECK-NEXT: }
// CHECK-NEXT: }
2 changes: 0 additions & 2 deletions test/Hessian/BuiltinDerivatives.C
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,6 @@ int main() {
// CHECK-NEXT: }

// CHECK: void f7_darg0_grad(float x, float y, float *_d_x, float *_d_y) {
// CHECK-NEXT: goto _label0;
// CHECK-NEXT: _label0:
// CHECK-NEXT: {
// CHECK-NEXT: float _r0 = 0;
// CHECK-NEXT: _r0 += 1 * clad::custom_derivatives{{(::std)?}}::cos_pushforward(x, 1.F).pushforward;
Expand Down

0 comments on commit 1d1b5a2

Please sign in to comment.