Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix Ref Stride checks. | 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. | 2019-03-03 | |
| | |||
* | Fix maybe-uninitialized warning | 2018-10-07 | |
| | |||
* | Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵ | 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 | 2018-07-12 | |
| | |||
* | Add static assertion for fixed sizes Ref<> | 2018-03-09 | |
| | |||
* | Workaround i387 issue in unit test | 2015-11-16 | |
| | |||
* | Add unit-test for Visual2013 ambiguous call to operator= | 2015-06-24 | |
| | |||
* | Factorize VERIFY_EVALUATION_COUNT in unit tests | 2015-06-19 | |
| | |||
* | bug #969: workaround abiguous calls to Ref using enable_if. | 2015-03-06 | |
| | |||
* | Big 853: replace enable_if in Ref<> ctor by static assertions and add ↵ | 2014-11-05 | |
| | | | | failtests for Ref<> | ||
* | Fix many long to int implicit conversions | 2014-07-08 | |
| | |||
* | Relax Ref such that Ref<MatrixXf> accepts a RowVectorXf which can be seen as ↵ | 2014-03-13 | |
| | | | | a degenerate MatrixXf(1,N) | ||
* | Ref<> objects must be nested by reference because they potentially store a ↵ | 2013-08-11 | |
| | | | | temporary object | ||
* | Workaround a bunch of stupid warnings in unit tests | 2013-06-23 | |
| | |||
* | Clean source code and unit tests with respect to -Wunused-local-typedefs | 2013-04-10 | |
| | |||
* | The ref unit test cannot be easily written to work with ↵ | 2013-02-27 | |
| | | | | EIGEN_DEFAULT_TO_ROW_MAJOR | ||
* | Fix two numerical issues in unit tests. | 2013-02-27 | |
| | |||
* | Add a unit test for Ref.h and fix an extra copy. | 2013-02-26 | |