Antonio Sanchez
c53002f5fb
Fix failing tests on arm/ppc
2025-02-28 13:15:33 -08:00
Antonio Sanchez
84911f9c05
Include <cstdint> in one place, remove custom typedefs
...
Originating from
[this SO issue](https://stackoverflow.com/questions/65901014/how-to-solve-this-all-error-2-in-this-case ),
some win32 compilers define `__int32` as a `long`, but MinGW defines
`std::int32_t` as an `int`, leading to a type conflict.
To avoid this, we remove the custom `typedef` definitions for win32. The
Tensor module requires C++11 anyways, so we are guaranteed to have
included `<cstdint>` already in `Eigen/Core`.
Also re-arranged the headers to only include `<cstdint>` in one place to
avoid this type of error again.
2021-01-28 11:10:13 -08:00
David Tellenbach
0fd6b4f71d
Bump to 3.3.9
2020-12-04 22:53:41 +01:00
David Tellenbach
dc252fbf00
Bump to 3.3.8
2020-10-05 13:24:15 +02:00
David Tellenbach
76f0650563
Bump to 3.3.8-rc1
2020-09-14 13:43:55 +02: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
Gael Guennebaud
1039348f12
backport is_valid_index_type fix from default branch and c++03
2019-11-22 13:49:17 +01:00
Christoph Hertzberg
cd12bf6317
bug #1761 : Manually grafted changes in Meta.h
...
5937c4ae32
Fall back is_integral to std::is_integral in c++11
f0862b062f
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 4356a55a61
2019-10-11 16:51:08 +02:00
Gael Guennebaud
f483c7ea8a
bug #1741 : fix C.noalias() = A*C; with C.innerStride()!=1
...
(grafted from ea0d5dc956
)
2019-09-10 16:25:24 +02:00
Christoph Hertzberg
427f2f66d6
bug #1724 : Mask buggy warnings with g++-7
2019-06-14 14:57:46 +02: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
2aa9eb3ce8
bug #1676 : workaround GCC's bug in c++17 mode.
...
(grafted from b3c4344a68
)
2019-02-07 15:21:35 +01:00
Christoph Hertzberg
18dc2107ea
Disable/ReenableStupidWarnings did not work properly, when included recursively
...
(grafted from ef4d79fed8
)
2018-08-28 18:26:22 +02:00
Gael Guennebaud
21ae2afd4e
bump to 3.3.7
2018-12-11 18:57:55 +01:00
Gael Guennebaud
f8d653d1f9
bump to 3.3.6
2018-12-10 14:46:51 +01:00
Gael Guennebaud
1d5581ead2
Workaround gcc bug making it trigger an invalid warning
2018-10-07 09:23:15 +02:00
Gael Guennebaud
148e579cc0
#pragma GCC diagnostic push/pop is not supported prioro to gcc 4.6
2018-09-27 09:23:54 +02:00
Christoph Hertzberg
92cd158c01
Disable type-limits warnings for g++ < 4.8, and shadow warnings for all g++ versions
2018-09-12 14:51:19 +02:00
Gael Guennebaud
c5198249a9
Fix bad merge in previous commit
2018-08-28 12:58:19 +02:00
Alexey Frunze
e6c8d0b72d
bug #1584 : Improve random (avoid undefined behavior).
2018-08-08 20:19:32 -07:00
Gael Guennebaud
81bdde705c
Bump to 3.3.5
2018-07-23 11:33:42 +02:00
Gael Guennebaud
3df78d5afc
Fix MSVC warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
...
(grafted from 7fe29aceeb
)
2018-06-07 15:36:20 +02:00
Gael Guennebaud
906a98fe39
fix linking issue
...
(grafted from 7a9089c33c
)
2018-04-13 08:51:47 +02:00
Gael Guennebaud
1c4fdad7bd
bug #1520 : workaround some -Wfloat-equal warnings by calling std::equal_to
2018-04-11 15:24:13 +02:00
Gael Guennebaud
866d222d60
commit 45e9c9996da790b55ed9c4b0dfeae49492ac5c46 (HEAD -> memory_fix)
...
Author: George Burgess IV <gbiv@google.com >
Date: Thu Mar 1 11:20:24 2018 -0800
Prefer `::operator new` to `new`
The C++ standard allows compilers much flexibility with `new`
expressions, including eliding them entirely
(https://godbolt.org/g/yS6i91 ). However, calls to `operator new` are
required to be treated like opaque function calls.
Since we're calling `new` for side-effects other than allocating heap
memory, we should prefer the less flexible version.
Signed-off-by: George Burgess IV <gbiv@google.com >
(grafted from 8c7b5158a1
)
2018-04-03 17:15:38 +02:00
Gael Guennebaud
190b46dd1f
Implement better static assertion checking to make sure that the first assertion is a static one and not a runtime one.
...
(grafted from f6be7289d7
)
2018-03-09 10:00:51 +01:00
Gael Guennebaud
74daf12e52
Add static assertion on selfadjoint-view's UpLo parameter.
...
(grafted from d820ab9edc
)
2018-03-09 09:33:43 +01:00
Gael Guennebaud
6d6e5fcd43
Add possibility to overwrite EIGEN_STRONG_INLINE.
2017-12-14 14:47:38 +01:00
Gael Guennebaud
32a6db0f8c
bug #1468 (1/2) : add missing std:: to memcpy
...
(grafted from 8579195169
)
2017-09-22 09:23:24 +02:00
Gael Guennebaud
6fc0f2be70
Update documentation for aligned_allocator
...
(grafted from 7ad07fc6f2
)
2017-09-20 10:22:00 +02:00
Gael Guennebaud
e7c065ec71
bug #1462 : remove all occurences of the deprecated __CUDACC_VER__ macro by introducing EIGEN_CUDACC_VER
2017-08-24 11:06:47 +02:00
Gael Guennebaud
3108fbf767
Clarify doc regarding the usage of MKL_DIRECT_CALL
...
(grafted from 8c858bd891
)
2017-08-17 12:17:45 +02:00
Gael Guennebaud
9df7f3d8e9
Fix support for MKL's BLAS when using MKL_DIRECT_CALL.
...
(grafted from b95f92843c
)
2017-08-17 12:07:10 +02:00
Gael Guennebaud
d1c2d6683c
Fix a gcc7 warning: Wint-in-bool-context
...
(grafted from b651ce0ffa
)
2017-06-26 09:58:28 +02:00
Gael Guennebaud
3dc3a0ea2d
bump to 3.3.4
2017-06-15 09:10:20 +02:00
Gael Guennebaud
208058b9ad
bump to 3.3.3
2017-02-21 14:36:34 +01:00
Gael Guennebaud
222ed66f79
Fix usage of CUDACC_VER
2017-02-20 08:16:54 +01:00
Gael Guennebaud
a0de6eb4ce
Include clang in the list of non strict MSVC (just to be sure)
2017-02-10 13:41:52 +01:00
Alexander Neumann
9c97b053f3
fixed compiling issue using clang-cl with visual studio
2017-02-08 23:50:09 +01:00
Gael Guennebaud
b8cf157e8c
bug #1381 : fix sparse.diagonal() used as a rvalue.
...
The problem was that is "sparse" is not const, then sparse.diagonal() must have the
LValueBit flag meaning that sparse.diagonal().coeff(i) must returns a const reference,
const Scalar&. However, sparse::coeff() cannot returns a reference for a non-existing
zero coefficient. The trick is to return a reference to a local member of
evaluator<SparseMatrix>.
(grafted from 296d24be4d
)
2017-01-25 17:39:01 +01:00
Gael Guennebaud
4b2e7f26aa
Add std:: namespace prefix to all (hopefully) instances if size_t/ptrdfiff_t
2017-01-23 22:02:53 +01:00
Gael Guennebaud
477d1e8192
Bump to 3.3.2
2017-01-18 15:06:40 +01:00
Gael Guennebaud
dafdb0d8a8
MSVC 2015 has all we want about c++11 and MSVC 2017 fails on binder1st/binder2nd
...
(grafted from e383d6159a
)
2017-01-06 15:44:13 +01:00
Gael Guennebaud
3900dbc341
Make sure that traits<CwiseBinaryOp>::Flags reports the correct storage order so that methods like .outerSize()/.innerSize() work properly.
...
(grafted from d32a43e33a
)
2016-12-27 16:35:45 +01:00
Gael Guennebaud
9e0fa0ef6d
Fix bug #1367 : compilation fix for gcc 4.1!
...
(grafted from 94e8d8902f
)
2016-12-20 22:17:01 +01:00
Gael Guennebaud
dd3685cc6a
Bump to 3.3.1
2016-12-06 11:43:58 +01:00
Angelos Mantzaflaris
b6f04a2dd4
typo UIntPtr
2016-12-01 21:25:58 +01:00
Angelos Mantzaflaris
a9aa3bcf50
fix two warnings(unused typedef, unused variable) and a typo
2016-12-01 21:23:43 +01:00