Skip to content

Fix transposed-matrix comments in gemv tests (closes #5)#18

Merged
sigilante merged 1 commit into
masterfrom
fix/issue5-sgemv-comments
May 30, 2026
Merged

Fix transposed-matrix comments in gemv tests (closes #5)#18
sigilante merged 1 commit into
masterfrom
fix/issue5-sgemv-comments

Conversation

@sigilante
Copy link
Copy Markdown
Collaborator

@sigilante sigilante commented May 30, 2026

The 0_row/0_col gemv tests commented the matrix as its transpose — [[1,3],[2,4]] for a matrix that is logically [[1,2],[3,4]]. The code was correct; only the comments were wrong. Fixed in test_sgemv.c (the issue), plus the same mistake found in test_dgemv.c and test_hgemv.c.

Closes #5.

🤖 Generated with Claude Code

The 0_row/0_col gemv tests commented the matrix as its transpose
([[1,3],[2,4]] for a matrix that is logically [[1,2],[3,4]]). The code
was correct; only the comments were wrong. Found and fixed the same
mistake in test_dgemv.c and test_hgemv.c while here.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sigilante sigilante merged commit 554178c into master May 30, 2026
1 check passed
@sigilante sigilante deleted the fix/issue5-sgemv-comments branch May 30, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect comment in test_sgemv.c

1 participant