mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
The most important inline keyword ever? Without it, gcc failed to inline this function, which is called by all matrix constructors...
This commit is contained in:
parent
d7e70edfb3
commit
bca18a13ea
@ -35,7 +35,7 @@
|
||||
namespace internal {
|
||||
|
||||
template<typename Index>
|
||||
void check_rows_cols_for_overflow(Index rows, Index cols)
|
||||
inline void check_rows_cols_for_overflow(Index rows, Index cols)
|
||||
{
|
||||
// http://hg.mozilla.org/mozilla-central/file/6c8a909977d3/xpcom/ds/CheckedInt.h#l242
|
||||
// we assume Index is signed
|
||||
|
Loading…
Reference in New Issue
Block a user