diff options
Diffstat (limited to 'tests/TfLiteYoloV3Big-Armnn')
-rw-r--r-- | tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp b/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp index c96d1f28d0..1905e9002d 100644 --- a/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp +++ b/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp @@ -28,17 +28,17 @@ static const int LOAD_NETWORK_ERROR = -4; static const int LOAD_IMAGE_ERROR = -5; static const int GENERAL_ERROR = -100; -#define CHECK_OK(v) \ - do { \ - try { \ - auto r_local = v; \ - if (r_local != 0) { return r_local;} \ - } \ - catch(armnn::Exception e) \ - { \ - ARMNN_LOG(error) << "Oops: " << e.what(); \ - return GENERAL_ERROR; \ - } \ +#define CHECK_OK(v) \ + do { \ + try { \ + auto r_local = v; \ + if (r_local != 0) { return r_local;} \ + } \ + catch (const armnn::Exception& e) \ + { \ + ARMNN_LOG(error) << "Oops: " << e.what(); \ + return GENERAL_ERROR; \ + } \ } while(0) |