diff options
author | 2014-03-04 15:10:29 +0100 | |
---|---|---|
committer | 2014-03-04 15:10:29 +0100 | |
commit | 04e1e38eedad891862083de85b965b8660dea6f7 (patch) | |
tree | 6ce44185d9fd0eed3bc8d2a0b7efbc1fbdf9d427 /Eigen/src/Core | |
parent | 47679c50ae2f51edaa18e4299ae361cfa774be96 (diff) |
bug #289: Removed useless static keywords
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/util/Memory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index bc472d720..7bd3056d5 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -464,7 +464,7 @@ template<typename T, bool Align> inline void conditional_aligned_delete_auto(T * * There is also the variant first_aligned(const MatrixBase&) defined in DenseCoeffsBase.h. */ template<typename Scalar, typename Index> -static inline Index first_aligned(const Scalar* array, Index size) +inline Index first_aligned(const Scalar* array, Index size) { enum { PacketSize = packet_traits<Scalar>::size, PacketAlignedMask = PacketSize-1 @@ -492,7 +492,7 @@ static inline Index first_aligned(const Scalar* array, Index size) /** \internal Returns the smallest integer multiple of \a base and greater or equal to \a size */ template<typename Index> -inline static Index first_multiple(Index size, Index base) +inline Index first_multiple(Index size, Index base) { return ((size+base-1)/base)*base; } |