Skip to content

[linalg.algs.blas1.iamax] Fix return type of vector_idx_abs_max#9140

Open
abhinavagarwal07 wants to merge 1 commit into
cplusplus:mainfrom
abhinavagarwal07:fix-iamax-return-type
Open

[linalg.algs.blas1.iamax] Fix return type of vector_idx_abs_max#9140
abhinavagarwal07 wants to merge 1 commit into
cplusplus:mainfrom
abhinavagarwal07:fix-iamax-return-type

Conversation

@abhinavagarwal07

Copy link
Copy Markdown
Contributor

The declarations of vector_idx_abs_max in [linalg.syn] and [linalg.algs.blas1.iamax] use extents_type (a std::extents shape type) as the return type, but the Returns clause specifies a scalar index of type size_type. Replace extents_type with size_type in all four declaration sites.

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].
@eisenwave

Copy link
Copy Markdown
Member

@eisenwave eisenwave added the P1-Important Misapplication of paper, malformed code, internal inconsistencies label Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1-Important Misapplication of paper, malformed code, internal inconsistencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants