aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/fixtures/AccumulateFixture.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2020-12-17 16:47:07 +0000
committerGiorgio Arena <giorgio.arena@arm.com>2021-01-07 16:41:34 +0000
commit4bdd177c75789451cad9ba1ecf929214ed75c009 (patch)
treea6a8ea96045a13af4b29e9c81014516dfe929715 /tests/validation/fixtures/AccumulateFixture.h
parent4d9383e179ed6be8cdb117e6353a0dea1c40be93 (diff)
downloadComputeLibrary-4bdd177c75789451cad9ba1ecf929214ed75c009.tar.gz
Fix fill() for FP data type in fixtures - Part 2
Resolves: COMPMID-4056 Signed-off-by: Giorgio Arena <giorgio.arena@arm.com> Change-Id: I6623eb9c0e66e52af4e0e9fb386031f4a09125b7 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4722 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/fixtures/AccumulateFixture.h')
-rw-r--r--tests/validation/fixtures/AccumulateFixture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/validation/fixtures/AccumulateFixture.h b/tests/validation/fixtures/AccumulateFixture.h
index 8fa6689277..7cea29c15d 100644
--- a/tests/validation/fixtures/AccumulateFixture.h
+++ b/tests/validation/fixtures/AccumulateFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 Arm Limited.
+ * Copyright (c) 2017-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -139,8 +139,8 @@ public:
template <typename...>
void setup(TensorShape shape, DataType data_type, DataType output_data_type)
{
- std::mt19937 gen(library->seed());
- std::uniform_real_distribution<> float_dist(0, 1);
+ std::mt19937 gen(library->seed());
+ std::uniform_real_distribution<float> float_dist(0, 1);
_alpha = float_dist(gen);