diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2019-12-10 22:20:54 +0000 |
---|---|---|
committer | Derek Lamberti <derek.lamberti@arm.com> | 2020-01-07 16:13:46 +0000 |
commit | ba25aeecc1c9728eeb6246d686be3cce2df3a0e0 (patch) | |
tree | c7c8489770845e489c6cf93752790c492ce5cffd /src/armnnUtils/TensorUtils.cpp | |
parent | baa177f0d465fe1d4f9e1979e1611ff6b1f128e0 (diff) | |
download | armnn-ba25aeecc1c9728eeb6246d686be3cce2df3a0e0.tar.gz |
IVGCVSW-4246 Enable -Wextra by default
!referencetests:218340
Change-Id: If24a604310d0363b1f09b406e4d53ebfeb106aad
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/armnnUtils/TensorUtils.cpp')
-rw-r--r-- | src/armnnUtils/TensorUtils.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/armnnUtils/TensorUtils.cpp b/src/armnnUtils/TensorUtils.cpp index 84fc8db053..535d68adbe 100644 --- a/src/armnnUtils/TensorUtils.cpp +++ b/src/armnnUtils/TensorUtils.cpp @@ -114,7 +114,6 @@ unsigned int GetNumElementsBetween(const TensorShape& shape, const unsigned int firstAxisInclusive, const unsigned int lastAxisExclusive) { - BOOST_ASSERT(0 <= firstAxisInclusive); BOOST_ASSERT(firstAxisInclusive <= lastAxisExclusive); BOOST_ASSERT(lastAxisExclusive <= shape.GetNumDimensions()); unsigned int count = 1; @@ -141,7 +140,6 @@ unsigned int GetUnsignedAxis(const unsigned int inputDimension, const int axis) unsigned int GetNumElementsAfter(const armnn::TensorShape& shape, unsigned int axis) { unsigned int numDim = shape.GetNumDimensions(); - BOOST_ASSERT(0 >= axis); BOOST_ASSERT(axis <= numDim - 1); unsigned int count = 1; for (unsigned int i = axis; i < numDim; i++) |