# Fixing Bugs in "Computing Homology"

DevFeed: [Fixing Bugs in "Computing Homology"](<https://devfeed.tech/articles/fixing-bugs-in-computing-homology-40340.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/01/23/fixing-bugs-in-computing-homology/>)

Published: 2014-01-23T23:05:16Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Computing](<https://devfeed.tech/topics/computing.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Code](<https://devfeed.tech/topics/code.md>), [function](<https://devfeed.tech/topics/function.md>), [Matrix](<https://devfeed.tech/topics/matrix-org.md>)

Tags: [bugs](<https://devfeed.tech/tags/bugs.md>), [code](<https://devfeed.tech/tags/code.md>), [computing](<https://devfeed.tech/tags/computing.md>), [function](<https://devfeed.tech/tags/function.md>), [homology](<https://devfeed.tech/tags/homology.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [matrices](<https://devfeed.tech/tags/matrices.md>), [persistent-homology](<https://devfeed.tech/tags/persistent-homology.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [quotients](<https://devfeed.tech/tags/quotients.md>), [row-reduction](<https://devfeed.tech/tags/row-reduction.md>), [test](<https://devfeed.tech/tags/test.md>)

## AI overview

This article corrects bugs in code for computing homology. It identifies an indexing error, explains a mathematical mistake in simultaneous row and column reduction, and shows how further row reduction is needed to obtain the correct rank for a triangulation of the Möbius band.

## Source excerpt

A few awesome readers have posted comments in Computing Homology to the effect of, "Your code is not quite correct!" And they're right! Despite the almost year since that post's publication, I haven't bothered to test it for more complicated simplicial complexes, or even the basic edge cases! When I posted it the mathematics just felt so solid to me that it had to be right (the irony is rich, I know).