Skip to content

Commit

Permalink
fix some test mismatch 2
Browse files Browse the repository at this point in the history
  • Loading branch information
gojakuch committed Sep 16, 2024
1 parent 7af2538 commit d938da9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/ForwardMode/STLCustomDerivatives.C
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ double fnTuple1(double x, double y) {
//CHECK-NEXT: double _d_u, _d_v = 0 * x + 288 * _d_x, _d_w;
//CHECK-NEXT: double u, v = 288 * x, w;
//CHECK-NEXT: clad::ValueAndPushforward<tuple<double &, double &, double &>, tuple<double &, double &, double &> > _t0 = clad::custom_derivatives::std::tie_pushforward(u, v, w, _d_u, _d_v, _d_w);
//CHECK-NEXT: clad::ValueAndPushforward<tuple<double, double, double>, tuple<double, double, double> > _t1 = pack_pushforward(x + y, _d_x + _d_y);
//CHECK-NEXT: clad::ValueAndPushforward< ::std::tuple<double &, double &, double &>, ::std::tuple<double &, double &, double &> > _t2 = clad::custom_derivatives::class_functions::operator_equal_pushforward(&_t0.value, static_cast<std::tuple<double, double, double> &&>(_t1.value), &_t0.pushforward, static_cast<std::tuple<double, double, double> &&>(_t1.pushforward));
//CHECK-NEXT: clad::ValueAndPushforward<{{.*}}> _t1 = pack_pushforward(x + y, _d_x + _d_y);
//CHECK-NEXT: clad::ValueAndPushforward<{{.*}}> _t2 = clad::custom_derivatives::class_functions::operator_equal_pushforward(&_t0.value, static_cast<std::tuple<double, double, double> &&>(_t1.value), &_t0.pushforward, static_cast<std::tuple<double, double, double> &&>(_t1.pushforward));
//CHECK-NEXT: return _d_v;
//CHECK-NEXT: }
//CHECK: clad::ValueAndPushforward<tuple<double, double, double>, tuple<double, double, double> > pack_pushforward(double x, double _d_x) {
//CHECK: clad::ValueAndPushforward<{{.*}}> pack_pushforward({{.*}}) {
//CHECK-NEXT: clad::ValueAndPushforward<tuple<double, double, double>, tuple<double, double, double> > _t0 = clad::custom_derivatives::std::make_tuple_pushforward(x, 2 * x, 3 * x, _d_x, 0 * x + 2 * _d_x, 0 * x + 3 * _d_x);
//CHECK-NEXT: return {_t0.value, _t0.pushforward};
//CHECK-NEXT: }
Expand Down

0 comments on commit d938da9

Please sign in to comment.