Talk:Reduced row echelon form: Difference between revisions

Content added Content deleted
Line 124: Line 124:
:: I haven't looked into it in detail, but adding an "if (div != 0)" line before the offending division seems to make it behave reasonably.
:: I haven't looked into it in detail, but adding an "if (div != 0)" line before the offending division seems to make it behave reasonably.
::
::
:: edit: looking into it, the lead-- line seems to deviate from the original algorithm, replacing that with a return Matrix seems to fix it.
:: edit: looking into it, the lead-- line seems to deviate from the original algorithm, replacing that with a "return matrix;" seems to fix it.