diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-02-19 18:10:03 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-02-20 10:12:45 +0000 |
commit | d57891a80b2a45dfeb41826f2753c5e32b6887c4 (patch) | |
tree | d9fbbf8d8a3e1c62a93899a05788c35e06450715 /tests/datasets/PriorBoxLayerDataset.h | |
parent | f85433be70e3d8d38025835e3f3fc450a54a2598 (diff) | |
download | ComputeLibrary-d57891a80b2a45dfeb41826f2753c5e32b6887c4.tar.gz |
COMPMID-2007: Compilation failures with ndk16b.
Resolves double brace initialization issues.
Change-Id: Ic9319d4abc1d6428cefabc18be1c176bea7607dc
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/729
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/datasets/PriorBoxLayerDataset.h')
-rw-r--r-- | tests/datasets/PriorBoxLayerDataset.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/datasets/PriorBoxLayerDataset.h b/tests/datasets/PriorBoxLayerDataset.h index c63e941171..a2392dbafc 100644 --- a/tests/datasets/PriorBoxLayerDataset.h +++ b/tests/datasets/PriorBoxLayerDataset.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -109,7 +109,7 @@ public: std::vector<float> var = { 0.1, 0.1, 0.2, 0.2 }; std::vector<float> max_val = { 60.f }; std::vector<float> aspect_ratio = { 2.f }; - std::array<float, 2> steps = { 8.f, 8.f }; + std::array<float, 2> steps = { { 8.f, 8.f } }; add_config(TensorShape(4U, 4U), PriorBoxLayerInfo(min_val, var, 0.5f, true, false, max_val, aspect_ratio, Coordinates2D{ 8, 8 }, steps)); } }; @@ -123,7 +123,7 @@ public: std::vector<float> var = { 0.1, 0.1, 0.2, 0.2 }; std::vector<float> max_val = { 60.f }; std::vector<float> aspect_ratio = { 2.f }; - std::array<float, 2> steps = { 8.f, 8.f }; + std::array<float, 2> steps = { { 8.f, 8.f } }; add_config(TensorShape(150U, 245U, 4U, 12U), PriorBoxLayerInfo(min_val, var, 0.5f, true, false, max_val, aspect_ratio, Coordinates2D{ 8, 8 }, steps)); } }; |