Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix Ref Stride checks. | Antonio Sanchez | 2021-01-05 |
| | | | | | | | | | | | | | | | | | | | | The existing `Ref` class failed to consider cases where the Ref's `Stride` setting *could* match the underlying referred object's stride, but **didn't** at runtime. This led to trying to set invalid stride values, causing runtime failures in some cases, and garbage due to mismatched strides in others. Here we add the missing runtime checks. This involves computing the strides necessary to align with the referred object's storage, and verifying we can actually set those strides at runtime. In the `const` case, if it *may* be possible to refer to the original storage at compile-time but fails at runtime, then we defer to the `construct(...)` method that makes a copy. Added more tests to check these cases. Fixes #2093. | ||
* | Enable construction of Ref<VectorType> from a runtime vector. | Gael Guennebaud | 2019-03-03 |
| | |||
* | Fix maybe-uninitialized warning | Gael Guennebaud | 2018-10-07 |
| | |||
* | Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵ | Gael Guennebaud | 2018-07-17 |
| | | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc | ||
* | Remove local Index typedef from unit-tests | Gael Guennebaud | 2018-07-12 |
| | |||
* | Add static assertion for fixed sizes Ref<> | Gael Guennebaud | 2018-03-09 |
| | |||
* | Workaround i387 issue in unit test | Gael Guennebaud | 2015-11-16 |
| | |||
* | Add unit-test for Visual2013 ambiguous call to operator= | Gael Guennebaud | 2015-06-24 |
| | |||
* | Factorize VERIFY_EVALUATION_COUNT in unit tests | Gael Guennebaud | 2015-06-19 |
| | |||
* | bug #969: workaround abiguous calls to Ref using enable_if. | Gael Guennebaud | 2015-03-06 |
| | |||
* | Big 853: replace enable_if in Ref<> ctor by static assertions and add ↵ | Gael Guennebaud | 2014-11-05 |
| | | | | failtests for Ref<> | ||
* | Fix many long to int implicit conversions | Gael Guennebaud | 2014-07-08 |
| | |||
* | Relax Ref such that Ref<MatrixXf> accepts a RowVectorXf which can be seen as ↵ | Gael Guennebaud | 2014-03-13 |
| | | | | a degenerate MatrixXf(1,N) | ||
* | Ref<> objects must be nested by reference because they potentially store a ↵ | Gael Guennebaud | 2013-08-11 |
| | | | | temporary object | ||
* | Workaround a bunch of stupid warnings in unit tests | Gael Guennebaud | 2013-06-23 |
| | |||
* | Clean source code and unit tests with respect to -Wunused-local-typedefs | Gael Guennebaud | 2013-04-10 |
| | |||
* | The ref unit test cannot be easily written to work with ↵ | Gael Guennebaud | 2013-02-27 |
| | | | | EIGEN_DEFAULT_TO_ROW_MAJOR | ||
* | Fix two numerical issues in unit tests. | Gael Guennebaud | 2013-02-27 |
| | |||
* | Add a unit test for Ref.h and fix an extra copy. | Gael Guennebaud | 2013-02-26 |