aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/conservative_resize.cpp
Commit message (Collapse)AuthorAge
* Use derived object type in conservative_resize_like_implGravatar Niall Murphy2021-05-20
| | | | | | | | | When calling conservativeResize() on a matrix with DontAlign flag, the temporary variable used to perform the resize should have the same Options as the original matrix to ensure that the correct override of swap is called (i.e. PlainObjectBase::swap(DenseBase<OtherDerived> & other). Calling the base class swap (i.e in DenseBase) results in assertions errors or memory corruption.
* bug #1432: fix conservativeResize for non-relocatable scalar types. For ↵Gravatar Gael Guennebaud2018-07-18
| | | | those we need to by-pass realloc routines and fall-back to allocate as new - copy - delete. The remaining problem is that we don't have any mechanism to accurately determine whether a type is relocatable or not, so currently let's be super conservative using either RequireInitialization or std::is_trivially_copyable
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-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-testsGravatar Gael Guennebaud2018-07-12
|
* Allow .conservativeResize(rows,cols) on vectorsGravatar Gael Guennebaud2013-10-16
|
* conservative_resize unit test was executed only onceGravatar Gael Guennebaud2013-02-25
|
* remove outdated "Eigen itself is part of the KDE project" outside of eigen2 ↵Gravatar Benoit Jacob2012-07-15
| | | | files
* Manual MPL2 relicensing fixesGravatar Benoit Jacob2012-07-13
|
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* Added missing typename.Gravatar Hauke Heibel2010-06-21
|
* Utilize Index in all unit tests.Gravatar Hauke Heibel2010-06-20
|
* Remove some Array #includes.Gravatar Jitse Niesen2010-01-21
|
* big huge changes, so i dont remember everything.Gravatar Benoit Jacob2009-10-28
| | | | | | | | | | * renaming, e.g. LU ---> FullPivLU * split tests framework: more robust, e.g. dont generate empty tests if a number is skipped * make all remaining tests use that splitting, as needed. * Fix 4x4 inversion (see stable branch) * Transform::inverse() and geo_transform test : adapt to new inverse() API, it was also trying to instantiate inverse() for 3x4 matrices. * CMakeLists: more robust regexp to parse the version number * misc fixes in unit tests
* Fixed unit test and improved code reusage for resizing.Gravatar Hauke Heibel2009-09-07
|
* Ups - that was not intended to be part of the commit.Gravatar Hauke Heibel2009-09-07
|
* Changed the AnyMatrixBase / ei_special_scalar_op inheritance order as ↵Gravatar Hauke Heibel2009-09-07
| | | | | | proposed by Gael. Added conservativeResizeLike as discussed on the mailing list.
* Added conservativeResize + unit test.Gravatar Hauke Heibel2009-09-03