mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-04 20:25:10 +08:00
Fixed perf problems for vector subtraction: inlining wasn't always happening when necessary.
This commit is contained in:
parent
d86f5339b2
commit
c72a5074e6
@ -406,7 +406,7 @@ struct ei_unaligned_assign_impl<false>
|
||||
template<typename Derived1, typename Derived2>
|
||||
struct ei_assign_impl<Derived1, Derived2, LinearVectorizedTraversal, NoUnrolling>
|
||||
{
|
||||
inline static void run(Derived1 &dst, const Derived2 &src)
|
||||
EIGEN_STRONG_INLINE static void run(Derived1 &dst, const Derived2 &src)
|
||||
{
|
||||
const int size = dst.size();
|
||||
const int packetSize = ei_packet_traits<typename Derived1::Scalar>::size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user