aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/fixtures/SpaceToDepthFixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/fixtures/SpaceToDepthFixture.h')
-rw-r--r--tests/validation/fixtures/SpaceToDepthFixture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation/fixtures/SpaceToDepthFixture.h b/tests/validation/fixtures/SpaceToDepthFixture.h
index b261fd5426..45ea34b0f5 100644
--- a/tests/validation/fixtures/SpaceToDepthFixture.h
+++ b/tests/validation/fixtures/SpaceToDepthFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019-2020 Arm Limited.
+ * Copyright (c) 2019-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -51,7 +51,7 @@ protected:
void fill(U &&tensor, int i)
{
static_assert(std::is_floating_point<T>::value || std::is_same<T, half>::value, "Only floating point data types supported.");
- using DistributionType = typename std::conditional<std::is_same<T, half>::value, arm_compute::utils::uniform_real_distribution_fp16, std::uniform_real_distribution<T>>::type;
+ using DistributionType = typename std::conditional<std::is_same<T, half>::value, arm_compute::utils::uniform_real_distribution_16bit<T>, std::uniform_real_distribution<T>>::type;
DistributionType distribution{ T(-1.0f), T(1.0f) };
library->fill(tensor, distribution, i);