Skip to content

Commit 3077e73

Browse files
committed
Remove type specialization for floating-point numerator and integer denominator in TrueDivideFunctor
1 parent 897b14d commit 3077e73

File tree

1 file changed

+0
-5
lines changed
  • dpctl/tensor/libtensor/include/kernels/elementwise_functions

1 file changed

+0
-5
lines changed

dpctl/tensor/libtensor/include/kernels/elementwise_functions/true_divide.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ struct TrueDivideFunctor
8484

8585
return in1 / exprm_ns::complex<realT2>(in2);
8686
}
87-
else if constexpr (std::is_floating_point_v<argT1> &&
88-
std::is_integral_v<argT2>)
89-
{
90-
return in1 / static_cast<argT1>(in2);
91-
}
9287
else {
9388
return in1 / in2;
9489
}

0 commit comments

Comments
 (0)