Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Fix off-by-one error in Matrix.GetSymmetric #1465

Merged
merged 1 commit into from
May 3, 2019

Conversation

horker
Copy link
Contributor

@horker horker commented Jul 12, 2018

Accord.Math.Matrix.GetSymmetric() always raises IndexOutOfRangeException when used with MatrixType.UpperTriangular because of invalid loop exit condition. This pr will fix this issue.

@horker
Copy link
Contributor Author

horker commented Feb 24, 2019

Thanks!

@horker horker closed this Feb 24, 2019
@horker
Copy link
Contributor Author

horker commented Mar 18, 2019

I closed this PR by mistake. Sorry, review please.

@horker horker reopened this Mar 18, 2019
@fdncred fdncred merged commit 456b2fb into accord-net:development May 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants