Skip to content

Correction to matrix slicing for start point of AddSubMatrix#59

Merged
cgravill merged 1 commit intomasterfrom
arraySlicing
Aug 24, 2019
Merged

Correction to matrix slicing for start point of AddSubMatrix#59
cgravill merged 1 commit intomasterfrom
arraySlicing

Conversation

@cgravill
Copy link
Copy Markdown
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 dsyme and gbaydin August 15, 2019 10:45
@cgravill
Copy link
Copy Markdown
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