From 9d0f30f552374379073c05d4e8b556c9d5f3f57e Mon Sep 17 00:00:00 2001 From: Abhinav Agarwal Date: Mon, 15 Jun 2026 22:23:27 -0700 Subject: [PATCH] [linalg.algs.blas1.iamax] Fix return type of vector_idx_abs_max The declarations use extents_type (a std::extents shape type), but the Returns clause specifies a scalar index of type size_type. Replace extents_type with size_type in [linalg.syn] and [linalg.algs.blas1.iamax]. --- source/numerics.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/numerics.tex b/source/numerics.tex index ae6be4760a..7ec3aada0d 100644 --- a/source/numerics.tex +++ b/source/numerics.tex @@ -11143,9 +11143,9 @@ // \ref{linalg.algs.blas1.iamax}, index of maximum absolute value of vector elements template<@\exposconcept{in-vector}@ InVec> - typename InVec::extents_type vector_idx_abs_max(InVec v); + typename InVec::size_type vector_idx_abs_max(InVec v); template - typename InVec::extents_type vector_idx_abs_max(ExecutionPolicy&& exec, InVec v); + typename InVec::size_type vector_idx_abs_max(ExecutionPolicy&& exec, InVec v); // \ref{linalg.algs.blas1.matfrobnorm}, Frobenius norm of a matrix template<@\exposconcept{in-matrix}@ InMat, @\exposconcept{scalar}@ Scalar> @@ -13980,9 +13980,9 @@ \indexlibraryglobal{vector_idx_abs_max}% \begin{itemdecl} template<@\exposconcept{in-vector}@ InVec> - typename InVec::extents_type vector_idx_abs_max(InVec v); + typename InVec::size_type vector_idx_abs_max(InVec v); template - typename InVec::extents_type vector_idx_abs_max(ExecutionPolicy&& exec, InVec v); + typename InVec::size_type vector_idx_abs_max(ExecutionPolicy&& exec, InVec v); \end{itemdecl} \begin{itemdescr}