Skip to content

Correction to matrix slicing for start point of AddSubMatrix #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 24, 2019

Conversation

cgravill
Copy link
Contributor

@cgravill cgravill commented Aug 15, 2019

I've traced through an issue we hit with array slicing. I believe it's supplying "row finish" rather than "column start" which doesn't match how it's used:

/// Add submatrix `b` to matrix `a`, where the upper left corner of `b` is positioned at row `i` and column `j`
static member AddSubMatrix (a:DM, i:int, j:int, b:DM) =

Smoke test demonstrating index out of bounds.

Smoke test demostrating that generates index out of bounds.
@cgravill cgravill requested review from gbaydin and dsyme August 15, 2019 10:45
@cgravill
Copy link
Contributor Author

I did some more checks and review with @byoyo and this looks good. I'll go ahead with the merge and release of a test version

@cgravill cgravill merged commit 34f3657 into master Aug 24, 2019
@cgravill cgravill deleted the arraySlicing branch November 3, 2020 17:31
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.

1 participant