Gael Guennebaud
e5b35d64f7
Fix compilation with AVX512
2020-08-25 12:25:58 +02:00
Rasmus Munk Larsen
02ef38020b
Fix incorrect use of std::abs reported in #1823 .
2020-08-11 17:54:22 -07:00
Janek Kozicki
0dd9643ad5
Fix Yade high precision Real compilation
2020-03-23 18:24:49 +00:00
Christoph Hertzberg
14db78c53b
Fix some maybe-uninitialized warnings
...
Cherry-picked from 72166d0e6e and 6965f6de7f
2020-02-28 19:32:10 +01:00
Christoph Hertzberg
84364ad11d
Bug #1788 : Fix rule-of-three violations inside the stable modules.
...
This fixes deprecated-copy warnings when compiling with GCC>=9
Also protect some additional Base-constructors from getting called by user code code (#1587 )
Cherry-picked from 870e53c0
2020-02-28 19:04:33 +01:00
Eugene Zhulenev
160c0a3404
Change typedefs from private to protected to fix MSVC compilation
2020-02-18 10:55:02 +01:00
Gael Guennebaud
5f1082d0b1
Fix QuaternionBase::cast for quaternion map and wrapper.
...
(grafted from 6358599ecbe23a8ba1829dea21e532aa85aab932
)
2019-12-03 14:51:14 +01:00
Gael Guennebaud
1039348f12
backport is_valid_index_type fix from default branch and c++03
2019-11-22 13:49:17 +01:00
Gael Guennebaud
3d7e2a1f3d
Fix possible conflict with an externally defined "real" type.
...
This issue was detected by gcc5 only.
2019-11-14 13:31:26 +01:00
Greg Coombe
3d18879fc4
Initialize isometric transforms like affine transforms.
...
The isometric transform, like the affine transform, has an implicit last
row of [0, 0, 0, 1]. This was not being properly initialized, as verified
by a new test function.
(grafted from 9d988a1e1a83c51422d96030fdad7267e4e946ee
)
2019-01-11 23:14:35 -08:00
Christoph Hertzberg
cd12bf6317
bug #1761 : Manually grafted changes in Meta.h
...
5937c4ae32feec178d56282694f06ed16cfe7352
Fall back is_integral to std::is_integral in c++11
f0862b062fcb613ee6c60745631d90a43d54a6d4
Fix internal::is_integral<size_t/ptrdiff_t> with MSVC 2013 and older.
2019-10-24 13:29:35 +02:00
Christoph Hertzberg
1760432f6e
Provide numext::[u]int{32,64}_t. Manually grafted from 4356a55a61c99faec681b20c5477b7e7012ca128
2019-10-11 16:51:08 +02:00
Gael Guennebaud
47e2f8a42c
PR 719: fix real/imag namespace conflict
...
(grafted from 87427d2eaa90bbc1c12eedecca95554d93c3c212
)
2019-10-08 09:15:17 +02:00
Gael Guennebaud
8ee2e10af4
Fix perf issue in SimplicialLDLT::solve for complexes (again, m_diag is real)
...
(grafted from 9549ba83139267af0167a9f44b117451f30c3263
)
2019-10-01 12:54:25 +02:00
Gael Guennebaud
165db26dc0
Fix speed issue with SimplicialLDLT for complexes: the diagonal is real!
...
(grafted from c8b2c603b0fe391d24ae0c95a1e20b157bfae33a
)
2019-09-30 16:14:34 +02:00
Gael Guennebaud
52d159c19f
bug #1741 : fix self-adjoint*matrix, triangular*matrix, and triangular^1*matrix with a destination having a non-trivial inner-stride
2019-09-11 15:04:25 +02:00
Gael Guennebaud
6abc9e5379
Fix compilation of BLAS backend and frontend
2019-09-11 10:02:37 +02:00
Gael Guennebaud
f722e43770
bug #1741 : fix SelfAdjointView::rankUpdate and product to triangular part for destination with non-trivial inner stride
...
(grafted from c06e6fd115d747c42a2b2ea029c53bbdf41276d6
)
2019-09-10 23:29:52 +02:00
Gael Guennebaud
f483c7ea8a
bug #1741 : fix C.noalias() = A*C; with C.innerStride()!=1
...
(grafted from ea0d5dc956c1268dd91ce636d8fd5e07225acb06
)
2019-09-10 16:25:24 +02:00
Gael Guennebaud
32cb4853c6
bug #1562 : optimize evaluation of small products of the form s*A*B by rewriting them as: s*(A.lazyProduct(B)) to save a costly temporary. Measured speedup from 2x to 5x...
...
(grafted from d428a199ab70bc08db7551457a1e9d8f65d9ebb9
)
2018-07-02 11:41:09 +02:00
Michael Grupp
3a79cc3f5b
Fix typo in Umeyama method documentation
2019-07-17 11:20:41 +00:00
Christoph Hertzberg
427f2f66d6
bug #1724 : Mask buggy warnings with g++-7
2019-06-14 14:57:46 +02:00
Christoph Hertzberg
4387298e80
Cast Index to RealScalar
...
This fixes compilation issues with RealScalar types that are not implicitly castable from Index (e.g. ceres Jet types).
Reported by Peter Anderson-Sprecher via eMail
(grafted from ac21a08c130b3096669548d18abb13cdd655380f
)
2019-05-23 15:31:12 +02:00
Christoph Hertzberg
4f77286c3d
Collapsed revision from PR-641
...
* SparseLU.h - corrected example, it didn't compile
* Changed encoding back to UTF8
2019-05-13 19:02:30 +02:00
Gael Guennebaud
4a242ac43d
bug #1695 : fix a numerical robustness issue. Computing the secular equation at the middle range without a shift might give a wrong sign.
...
(grafted from 45e65fbb7791e453f88f959111cff45e0fb7dd6f
)
2019-03-27 20:16:58 +01:00
Gael Guennebaud
fe8cd812b0
backport EIGEN_HAS_C99_MATH for MSVC
2019-03-22 10:16:08 +01:00
Gael Guennebaud
dd93c41618
Complete previous backport with is_valid_index_type
2019-03-17 22:02:18 +01:00
Gael Guennebaud
441b3511de
bug #1692 : enable enum as sizes of Matrix and Array
...
(grafted from cf7e2e277f76d965fe37dac5a3fecf588f58e3b7
)
2019-03-17 21:59:30 +01:00
Gael Guennebaud
6b59aa705a
bug #1689 fix used-but-marked-unused warning
...
(grafted from bfbf7da0478afe75e19a953f0925bbd492bcd427
)
2019-03-05 23:46:24 +01:00
Gael Guennebaud
7b93328baf
Enable construction of Ref<VectorType> from a runtime vector.
...
(grafted from b0d406d91c62ff32153df43d5f698ceb02341ac7
)
2019-03-03 15:25:25 +01:00
Gael Guennebaud
c354f59fb6
bug #1679 : avoid possible division by 0 in complex-schur
...
(grafted from f2970819a26bcc5370c88838c740d507583d9184
)
2019-02-15 09:39:25 +01:00
Gael Guennebaud
2aa9eb3ce8
bug #1676 : workaround GCC's bug in c++17 mode.
...
(grafted from b3c4344a6852e55c849976dd46ec4e861399bf16
)
2019-02-07 15:21:35 +01:00
Gael Guennebaud
f1c12d8ff0
Workaround gcc's alloc-size-larger-than= warning
...
(grafted from bcb7c66b53aad713d3edd98b24d094b5542b18bf
)
2018-10-07 21:55:59 +02:00
Gael Guennebaud
6c4d57dc9e
Fix a gcc7 warning about bool * bool in abs2 default implementation.
...
(grafted from 561f77707525644a10cbd971ad14bf47aa0e93e0
)
2017-06-27 12:05:17 +02:00
Christoph Hertzberg
18dc2107ea
Disable/ReenableStupidWarnings did not work properly, when included recursively
...
(grafted from ef4d79fed8b84f03fe3c7ace98442c822cf3472a
)
2018-08-28 18:26:22 +02:00
Christoph Hertzberg
c28ba89fe2
Old gcc versions have problems with recursive #pragma GCC diagnostic push/pop
...
Workaround: Don't include "DisableStupidWarnings.h" before including other main-headers
(grafted from 42f3ee4fb878b3e16a8cbc99ec90ed330f59899c
)
2018-08-28 11:44:15 +02:00
Gael Guennebaud
c30beb5974
bug #1669 : fix PartialPivLU/inverse with zero-sized matrices.
...
(grafted from 8a06c699d0f8d47f4fc4f259a21574b4719792b2
)
2019-01-29 10:27:13 +01:00
Gael Guennebaud
210d510a90
Fix compilation with expression template scalar type.
...
(grafted from f582ea357997cf9a18927f479de7e21fb96b3b5a
)
2018-12-12 22:47:00 +01:00
Gael Guennebaud
549c32cb42
bug #1557 : fix RealSchur and EigenSolver for matrices with only zeros on the diagonal.
...
(grafted from 2de8da70fd0b35849845dc76b2741bb0689f0643
)
2018-12-12 17:30:08 +01:00
Gael Guennebaud
25a1160849
bug #1644 : fix warning
...
(grafted from 37c91e18368e77a333afd2f5a1fd52026014fca5
)
2018-12-11 22:07:20 +01:00
Gael Guennebaud
21ae2afd4e
bump to 3.3.7
2018-12-11 18:57:55 +01:00
Gael Guennebaud
171f513ecd
bug #1643 : fix compilation issue with gcc and no optimizaion
...
(grafted from 7166496f7011e63ff90cbb8b1b41642aaa7dbcc3
)
2018-12-11 13:24:42 +01:00
Gael Guennebaud
c310bedb29
enable spilling workaround on architectures with SSE/AVX
...
(grafted from 0d906378385a9f94f612528523ba2ad9a6d1e265
)
2018-12-10 23:22:44 +01:00
Gael Guennebaud
f8d653d1f9
bump to 3.3.6
2018-12-10 14:46:51 +01:00
Gael Guennebaud
b942bb0043
workaround "may be used uninitialized" warning
...
(grafted from bff90bf270b330612e4d7e4fdba96b3671826208
)
2018-12-08 18:58:28 +01:00
Gael Guennebaud
f1ffadb6e0
fix EIGEN_GEBP_2PX4_SPILLING_WORKAROUND for non vectorized type, and non x86/64 target
...
(grafted from 426bce7529f148bbec3fd386ddf6d6c4880de347
)
2018-12-08 09:44:21 +01:00
Gael Guennebaud
9d56215db8
bug #1636 : fix gemm performance issue with gcc>=6 and no FMA
...
(grafted from 4e7746fe2234ccaa10cb0c9431d68ee72a1d1d40
)
2018-12-07 09:15:46 +01:00
Gael Guennebaud
c4ea9a916f
bug #1637 : workaround register spilling in gebp with clang>=6.0+AVX+FMA
...
(grafted from f233c6194db032f31c14d06b5e962197b66ea296
)
2018-12-07 10:01:09 +01:00
Christoph Hertzberg
24d56f2e0e
bug #1635 : Use infinity from Numtraits instead of creating it manually.
...
(grafted from c1d356e8b4b84fa5c7172567d5529f52191ed85b
)
2018-12-05 15:01:04 +01:00
Christoph Hertzberg
b9a2a8d2aa
bug #785 : Make Cholesky decomposition work for empty matrices
...
(grafted from 919414b9fe2ad7fdcb0f2b2cbdf6b5322d0f2034
)
2018-12-03 16:18:15 +01:00