From d82f797d8493b2223a13de503ac9bcd9a1134eed Mon Sep 17 00:00:00 2001 From: Adnan AlSinan Date: Mon, 2 Oct 2023 16:36:07 +0100 Subject: Fix Nightly failing validation tests in NEON Reverse Resolves COMPMID-6574 Signed-off-by: Adnan AlSinan Change-Id: I6b23e2a2f7b2839f038dad538dfc5ebda62891a6 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10412 Benchmark: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Anitha Raj --- tests/validation/fixtures/ReverseFixture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/validation/fixtures/ReverseFixture.h b/tests/validation/fixtures/ReverseFixture.h index 8ff8cf9421..7518a0926a 100644 --- a/tests/validation/fixtures/ReverseFixture.h +++ b/tests/validation/fixtures/ReverseFixture.h @@ -134,7 +134,7 @@ protected: { auto axis_data = AccessorType(axis); auto axis_v = generate_random_axis(use_negative_axis); - std::copy(axis_v.begin(), axis_v.begin() + axis_shape.x(), static_cast(axis_data.data())); + std::copy(axis_v.begin(), axis_v.begin() + _num_dims, static_cast(axis_data.data())); } // Compute function -- cgit v1.2.1