From d57891a80b2a45dfeb41826f2753c5e32b6887c4 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 19 Feb 2019 18:10:03 +0000 Subject: COMPMID-2007: Compilation failures with ndk16b. Resolves double brace initialization issues. Change-Id: Ic9319d4abc1d6428cefabc18be1c176bea7607dc Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/729 Reviewed-by: Michele Di Giorgio Reviewed-by: Michalis Spyrou Tested-by: Arm Jenkins --- tests/datasets/PriorBoxLayerDataset.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/datasets') 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 var = { 0.1, 0.1, 0.2, 0.2 }; std::vector max_val = { 60.f }; std::vector aspect_ratio = { 2.f }; - std::array steps = { 8.f, 8.f }; + std::array 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 var = { 0.1, 0.1, 0.2, 0.2 }; std::vector max_val = { 60.f }; std::vector aspect_ratio = { 2.f }; - std::array steps = { 8.f, 8.f }; + std::array 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)); } }; -- cgit v1.2.1