aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/StaticAssert.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <benoitjacob@google.com>2015-02-27 10:01:59 -0500
committerGravatar Benoit Jacob <benoitjacob@google.com>2015-02-27 10:01:59 -0500
commitb7fc8746e07556404672b4da2d53dd323c441634 (patch)
tree657b3983fea2ad529d50119c2af19cf20779709d /Eigen/src/Core/util/StaticAssert.h
parentf074bb4b5f6ddf0a67348365499a5c5c335a5e17 (diff)
Replace a static assert by a runtime one, fixes the build of unit tests on ARM
Also safely assert in the non-implemented path that should never be taken in practice, and would return wrong results.
Diffstat (limited to 'Eigen/src/Core/util/StaticAssert.h')
-rw-r--r--Eigen/src/Core/util/StaticAssert.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/StaticAssert.h b/Eigen/src/Core/util/StaticAssert.h
index 5e16b775b..7538a0633 100644
--- a/Eigen/src/Core/util/StaticAssert.h
+++ b/Eigen/src/Core/util/StaticAssert.h
@@ -93,8 +93,7 @@
THE_STORAGE_ORDER_OF_BOTH_SIDES_MUST_MATCH,
OBJECT_ALLOCATED_ON_STACK_IS_TOO_BIG,
IMPLICIT_CONVERSION_TO_SCALAR_IS_FOR_INNER_PRODUCT_ONLY,
- STORAGE_LAYOUT_DOES_NOT_MATCH,
- ROTATION_BY_ILLEGAL_OFFSET
+ STORAGE_LAYOUT_DOES_NOT_MATCH
};
};