9232 Commits

Author SHA1 Message Date
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
b7249a2a42 Remove debug code.
(grafted from cf697272e1326e5ceecfd876ea67943b88425521
)
2018-12-09 23:05:46 +01:00
Gael Guennebaud
7c42084503 Various fixes in polynomial solver and its unit tests:
- cleanup noise in imaginary part of real roots
 - take into account the magnitude of the derivative to check roots.
 - use <= instead of < at appropriate places
(grafted from 450dc97c6b14cd738def377d8b04c12427c6449a
)
2018-12-09 22:54:39 +01:00
Christoph Hertzberg
8fb28db12d Rename variable which shadows class name
(grafted from 44ee201337113eeebb1018ba8bebf110afada796
)
2018-07-25 20:26:15 +02:00
Gael Guennebaud
e777674a87 Extend polynomial solver unit tests to complexes
(grafted from f12b368417992f0974678646f2fb7fa2db44b633
)
2016-11-23 16:05:45 +01:00
Gael Guennebaud
222ce4b49d Automatically switch between EigenSolver and ComplexEigenSolver, and fix a few Real versus Scalar issues.
(grafted from 56e5ec07c6846585a8d808cab15a0aa5f6cd0cc8
)
2016-11-23 16:05:10 +01:00
Gael Guennebaud
4415d4e2d4 Patch from Oleg Shirokobrod to extend polynomial solver to complexes
(grafted from 9246587122440969d0585dab8c2cc2e45c0a0ec0
)
2016-11-23 15:42:26 +01:00
Gael Guennebaud
07c2081aac fix unit test in c++03: c++03 does not allow passing local or anonymous enum as template param
(grafted from 48898a988a5159d2f3c0ff00bd737d17b202e844
)
2019-03-18 11:38:36 +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
Thomas Capricelli
cf0bf73edc use proper id 2019-03-12 13:54:24 +01:00
Thomas Capricelli
f719b23ef7 update tracking code for 3.3 branch 2019-03-12 13:49:07 +01:00
Gael Guennebaud
5110d803e4 Change license from LGPL to MPL2 with agreement from David Harmon.
(grafted from 2df4f0024666a9085fe47f14e2290bd61676dbbd
)
2019-03-07 18:17:10 +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
6adb70d3c4 Enable documentation of Array's typedefs
(grafted from 475295b5ff0c030fbed3127e2deaee77747d9833
)
2019-02-20 15:18:07 +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
Steven Peters
637302a4c2 Spline.h: fix spelling "spang" -> "span"
(grafted from 953ca5ba2f007650944017bff423582afeaf0696
)
2019-02-08 06:23:24 +00: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
6870a39feb Hide some annoying unused variable warnings in g++8.1
(grafted from a7779a9b427ffe755fb163e7bfdb1eda4fb1f73e
)
2019-01-29 16:48:21 +01:00
Gael Guennebaud
bb9981e24b Fix gcc 8.1 warning: "maybe use uninitialized"
(grafted from 16b2001eceac03a3adf981f4bc02b72583433ab1
)
2018-10-07 21:54:49 +02:00
Gael Guennebaud
74a0c08d70 Disable ignoring attributes warning
(grafted from 2cf6d3050c42d14819160e2642a5c3dfc449e44a
)
2018-09-20 11:38:19 +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
c781bf2202 Slightly extend discussions on auto and move the content of the Pit falls wiki page here.
http://eigen.tuxfamily.org/index.php?title=Pit_Falls
(grafted from e3622a03964d389fe099d1689fff059ba3cd9830
)
2019-01-30 13:09:21 +01:00
Gael Guennebaud
c30beb5974 bug #1669: fix PartialPivLU/inverse with zero-sized matrices.
(grafted from 8a06c699d0f8d47f4fc4f259a21574b4719792b2
)
2019-01-29 10:27:13 +01:00
Christoph Hertzberg
7b160dcc82 After fixing bug #1557, boostmultiprec_7 failed with NumericalIssue instead of NoConvergence (all that matters here is no Success)
(grafted from d575505d2589877a9d712feb0d455704d3834f12
)
2019-01-17 19:14:07 +01:00
Gael Guennebaud
c7266da750 bug #1585: update doc on lazy-evaluation
(grafted from 729d1291c229da60cd7f96c71a734994e7cf6f27
)
2019-01-16 16:28:17 +01:00
Gael Guennebaud
eea99eb4e0 fix always true warning with gcc 4.7
(grafted from 32d7232aec1b5c78061548a00f0583ddd693e3e3
)
2019-01-15 11:18:48 +01:00
Christoph Hertzberg
65a6d41510 Fix nonnull-compare warning
(grafted from 642dddcce29269f266d35e34d34ee83d99a7c116
)
2016-12-15 17:16:56 +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
7670ff9272 Added tag 3.3.7 for changeset 21ae2afd4edaa1b69782c67a54182d34efe43f9c 2018-12-11 18:58:11 +01:00
Gael Guennebaud
21ae2afd4e bump to 3.3.7 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
a661812ad7 Added tag 3.3.6 for changeset f8d653d1f9329081e017caf6cb9341834a71b6d2 2018-12-10 14:46:58 +01:00
Gael Guennebaud
f8d653d1f9 bump to 3.3.6 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
204d1f1456 Fix noise in sparse_basic_3 (numerical cancellation)
(grafted from cd25b538abff7370100ef5613b8138919f89c7b0
)
2018-12-08 00:13:37 +01:00
Gael Guennebaud
c285ed1033 Fix noise in lu unit test 2018-12-08 00:05:38 +01:00
Christoph Hertzberg
818bf74b18 Add default constructor to Bar to make test compile again with clang-3.8
(grafted from ea60a172cf1c2b82d3d9b43a57e5a8ad391f1bdf
)
2018-11-23 14:24:22 +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