From 6e5286674c204ebf829d8dc1ddc6606ce8c73aff Mon Sep 17 00:00:00 2001 From: Kevin Cheng Date: Wed, 20 Oct 2021 17:35:33 +0000 Subject: Fix typo in Concat ERROR_IF Signed-off-by: Kevin Cheng Change-Id: I37fa4fedbeb64c1e147f2b43f45cf8e25854256c --- reference_model/src/ops/data_layout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reference_model/src/ops') diff --git a/reference_model/src/ops/data_layout.cc b/reference_model/src/ops/data_layout.cc index f3e80f3..674227b 100644 --- a/reference_model/src/ops/data_layout.cc +++ b/reference_model/src/ops/data_layout.cc @@ -89,7 +89,7 @@ int OpConcat::checkTensorAttributes() } } - ERROR_IF(output_dim_on_axis == outputs[0]->getShape()[attribute->axis()], + ERROR_IF(output_dim_on_axis != outputs[0]->getShape()[attribute->axis()], "OpConcat: sum of input dimension on axis not equal to output dimension on axis"); out = dynamic_cast*>(outputs[0]); -- cgit v1.2.1