Revert "Disable test in test/vectorization_logic.cpp, which is currently failing with AVX."

This reverts commit b625adffd877639ff5cbe51ea154e1905a3b405c
This commit is contained in:
Rasmus Munk Larsen 2020-02-25 01:04:56 +00:00
parent b625adffd8
commit 87cfa4862f

View File

@ -292,11 +292,10 @@ struct vectorization_logic
));
// In situations where the picking the full-packet would be detrimental the half-packet
// is chosen.
// TODO(rmlarsen): Enable when AVX works as intended.
//STATIC_CHECK((
// !(PacketSize > 2) ||
// internal::is_same<typename internal::find_best_packet<Scalar, PacketSize*2-1>::type, HalfPacketType>::value
//));
STATIC_CHECK((
!(PacketSize > 2) ||
internal::is_same<typename internal::find_best_packet<Scalar, PacketSize*2-1>::type, HalfPacketType>::value
));
}
};