Skip to content

Commit

Permalink
Temporary patch for missing xsimd function
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Dec 14, 2021
1 parent 0eb5c4e commit cdff826
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pythran/pythonic/include/numpy/conjugate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@

#include <xsimd/xsimd.hpp>

// Inject some extra symbol in xsimd namespace, until that's fixed upstream
#if XSIMD_VERSION_MAJOR < 8 || \
(XSIMD_VERSION_MAJOR == 8 && XSIMD_VERSION_MINOR == 0 && \
XSIMD_VERSION_PATCH <= 5)
namespace xsimd
{
using std::conj;
}
#endif

PYTHONIC_NS_BEGIN

namespace numpy
Expand Down

0 comments on commit cdff826

Please sign in to comment.