diff --git a/libcxx/include/valarray b/libcxx/include/valarray index d4e9015b69cb..5113516e9b76 100644 --- a/libcxx/include/valarray +++ b/libcxx/include/valarray @@ -2628,7 +2628,7 @@ public: }; template -__val_expr<_ValExpr>::operator valarray() const +__val_expr<_ValExpr>::operator valarray<__val_expr::result_type>() const { valarray __r; size_t __n = __expr_.size();