From 089a099b3d635918c3dd329750fe98fc0acbff23 Mon Sep 17 00:00:00 2001 From: Mihail Mihov Date: Tue, 19 Mar 2024 16:31:00 +0200 Subject: [PATCH] Fix typo in tests --- test/Arrays/ArrayInputsReverseMode.C | 4 ++-- test/ErrorEstimation/LoopsAndArrays.C | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Arrays/ArrayInputsReverseMode.C b/test/Arrays/ArrayInputsReverseMode.C index d91be3423..ebe6196a3 100644 --- a/test/Arrays/ArrayInputsReverseMode.C +++ b/test/Arrays/ArrayInputsReverseMode.C @@ -383,8 +383,8 @@ double func7(double *params) { //CHECK-NEXT: std::size_t _d_i = 0; //CHECK-NEXT: std::size_t i = 0; //CHECK-NEXT: clad::tape > _t1 = {}; -//CHECK-NEXT: clad::array _d_paramsPrime({{1U||1UL}}); -//CHECK-NEXT: clad::array paramsPrime({{1U||1UL}); +//CHECK-NEXT: clad::array _d_paramsPrime({{1U|1UL}}); +//CHECK-NEXT: clad::array paramsPrime({{1U|1UL}}); //CHECK-NEXT: clad::tape _t2 = {}; //CHECK-NEXT: clad::tape > _t3 = {}; //CHECK-NEXT: double out = 0.; diff --git a/test/ErrorEstimation/LoopsAndArrays.C b/test/ErrorEstimation/LoopsAndArrays.C index 7ae44c9fe..e1ce5ce8d 100644 --- a/test/ErrorEstimation/LoopsAndArrays.C +++ b/test/ErrorEstimation/LoopsAndArrays.C @@ -105,7 +105,7 @@ float func3(float x, float y) { } //CHECK: void func3_grad(float x, float y, clad::array_ref _d_x, clad::array_ref _d_y, double &_final_error) { -//CHECK-NEXT: clad::array _d_arr({{3L|3UL}}); +//CHECK-NEXT: clad::array _d_arr({{3U|3UL}}); //CHECK-NEXT: double _t0; //CHECK-NEXT: double _t1; //CHECK-NEXT: double _t2;