Fixed bug with incorrect LU decomposition by Svn-Sp · Pull Request #2261 · TheAlgorithms/Python · GitHub
Skip to content

Fixed bug with incorrect LU decomposition - #2261

Merged
cclauss merged 2 commits into
TheAlgorithms:masterfrom
Svn-Sp:master
Aug 1, 2020
Merged

cclauss merged 2 commits into
TheAlgorithms:masterfrom
Svn-Sp:master

Conversation

@Svn-Sp

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown

@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

spamegg1 commented Aug 1, 2020

Copy link
Copy Markdown
Contributor

@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 <cclauss@me.com>
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