From d8b496bc54266b1e087cc9bb84b555a159a0f0a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=82=A8=EA=B6=81=EC=84=9D/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Mon, 20 Aug 2018 11:51:02 +0900 Subject: [PATCH] [neurun] Fix typo in model.cc (#2351) Fix typo for `or` operation in `src/frontend/model.cc` Signed-off-by: Seok NamKoong --- runtimes/neurun/src/frontend/model.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtimes/neurun/src/frontend/model.cc b/runtimes/neurun/src/frontend/model.cc index 624c011..1e00b5f 100644 --- a/runtimes/neurun/src/frontend/model.cc +++ b/runtimes/neurun/src/frontend/model.cc @@ -72,7 +72,7 @@ int ANeuralNetworksModel_addOperand(ANeuralNetworksModel *model, // dimensionCount should be zero for scalars if ((type->dimensionCount != 0) && - ((type->type == ANEURALNETWORKS_FLOAT32) | (type->type == ANEURALNETWORKS_INT32) || + ((type->type == ANEURALNETWORKS_FLOAT32) || (type->type == ANEURALNETWORKS_INT32) || (type->type == ANEURALNETWORKS_UINT32))) { return ANEURALNETWORKS_BAD_DATA; -- 2.7.4