Skip to content

Fixed bug with incorrect LU decomposition #2261

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 2 commits into from
Aug 1, 2020
Merged

Fixed bug with incorrect LU decomposition #2261

merged 2 commits into from
Aug 1, 2020

Conversation

Svn-Sp
Copy link
Contributor

@Svn-Sp Svn-Sp commented Aug 1, 2020

Fixes #2257 I fixed the Bug in the arithmetic_analysis/lu_decomposition.py file.

The Problem was:
It seemed that the person who developed the algorithm had forgotten that range(i) will return [0, ... ,i-1]
Because of that the algorithm wasn't working properly, but now it calculates correctly.

@TravisBuddy
Copy link

Hey @Svn-Sp,
Something went wrong with the build.

TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.

View build log

TravisBuddy Request Identifier: b8b6cd80-d40e-11ea-9b7b-6b7bbdba586d

@Svn-Sp Svn-Sp changed the title Fixed Bug #2257 Fixed Bug #2257 / Bug with incorrect LU decomposition Aug 1, 2020
@cclauss cclauss changed the title Fixed Bug #2257 / Bug with incorrect LU decomposition Fixed bug with incorrect LU decomposition Aug 1, 2020
@spamegg1
Copy link
Contributor

spamegg1 commented Aug 1, 2020

Ah, so it was something simple, that's good.

@cclauss cclauss merged commit 1495382 into TheAlgorithms:master Aug 1, 2020
stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
* Fixed Bug TheAlgorithms#2257

* =

Co-authored-by: Svn-Sp <svn-sp@email>
Co-authored-by: Christian Clauss <[email protected]>
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.

arithmetic_analysis/lu_decomposition is wrong
4 participants