From ac69aa137e360340fe9f148f019d93af6c3d8336 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Mon, 3 Jul 2017 17:39:37 +0100 Subject: COMPMID-418 Add check and fix comments after preprocessor conditions Change-Id: I1353fd652ee180e3931e58b4ce13d651a48c7e2c Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79567 Tested-by: Kaizen Reviewed-by: Moritz Pflanzer --- tests/Utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/Utils.h') diff --git a/tests/Utils.h b/tests/Utils.h index 8d5046da34..ad45bffe6e 100644 --- a/tests/Utils.h +++ b/tests/Utils.h @@ -40,9 +40,9 @@ #include #include -#if ARM_COMPUTE_ENABLE_FP16 +#ifdef ARM_COMPUTE_ENABLE_FP16 #include // needed for float16_t -#endif +#endif /* ARM_COMPUTE_ENABLE_FP16 */ namespace arm_compute { @@ -102,7 +102,7 @@ template <> struct promote { using type = int64_t; }; template <> struct promote { using type = float; }; #ifdef ARM_COMPUTE_ENABLE_FP16 template <> struct promote { using type = float16_t; }; -#endif +#endif /* ARM_COMPUTE_ENABLE_FP16 */ template @@ -417,4 +417,4 @@ inline T create_tensor(const TensorShape &shape, DataType data_type, int num_cha } } // namespace test } // namespace arm_compute -#endif +#endif /* __ARM_COMPUTE_TEST_UTILS_H__ */ -- cgit v1.2.1