@@ -39,7 +39,7 @@ namespace Peanut::Impl {
3939 * @tparam T Scalar type operand.
4040 */
4141 template <typename E, typename T>
42- requires is_matrix_v<E> && std::is_arithmetic_v <T>
42+ requires is_matrix_v<E> && is_arithmetic <T>
4343 struct MatrixMultScalar : public MatrixExpr <MatrixMultScalar<E, T>> {
4444 using Type = typename std::conditional<
4545 std::is_floating_point_v<typename E::Type> || std::is_floating_point_v<T>,
@@ -76,7 +76,7 @@ namespace Peanut {
7676 * @return Constructed `Impl::MatrixMultScalar` instance
7777 */
7878 template <typename E, typename T>
79- requires is_matrix_v<E> && std::is_arithmetic_v <T>
79+ requires is_matrix_v<E> && is_arithmetic <T>
8080 Impl::MatrixMultScalar<E, T> operator *(const MatrixExpr<E> &x, const T &y) {
8181 return Impl::MatrixMultScalar<E, T>(static_cast <const E &>(x), y);
8282 }
@@ -88,7 +88,7 @@ namespace Peanut {
8888 * @return Constructed `Impl::MatrixMultScalar` instance
8989 */
9090 template <typename E, typename T>
91- requires is_matrix_v<E> && std::is_arithmetic_v <T>
91+ requires is_matrix_v<E> && is_arithmetic <T>
9292 Impl::MatrixMultScalar<E, T> operator *(const T x, const MatrixExpr<E> &y) {
9393 return Impl::MatrixMultScalar<E, T>(static_cast <const E &>(y), x);
9494 }
0 commit comments