Skip to content

Commit

Permalink
Update evaluator.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
usafchn authored Aug 11, 2023
1 parent 917c57c commit 5b033a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions heu/library/numpy/evaluator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ using kHasReduceSum = decltype(std::declval<const CLAZZ&>().ReduceSum(
std::array<int64_t, 2> x_stride, \
const DenseMatrix<phe::TY>& y, \
std::array<int64_t, 2> y_stride, RET* out) \
-> std::enable_if_t<std::experimental::is_detected_v< \
->std::enable_if_t<std::experimental::is_detected_v< \
kHasVectorized##OP, CLAZZ, SUB_TX, SUB_TY>> { \
const auto* x_base = x.data(); \
const auto* y_base = y.data(); \
Expand Down Expand Up @@ -146,7 +146,7 @@ using kHasReduceSum = decltype(std::declval<const CLAZZ&>().ReduceSum(
std::array<int64_t, 2> x_stride, \
const DenseMatrix<phe::TY>& y, \
std::array<int64_t, 2> y_stride, RET* out) \
-> std::enable_if_t<!std::experimental::is_detected_v< \
->std::enable_if_t<!std::experimental::is_detected_v< \
kHasVectorized##OP, CLAZZ, SUB_TX, SUB_TY>> { \
const auto* x_base = x.data(); \
const auto* y_base = y.data(); \
Expand Down

0 comments on commit 5b033a2

Please sign in to comment.