in

.NET Opensource

Community for opensource projects by Christoph Rüegg

Bug in Matrix.CopyToArray() method

Last post 04-04-2008 0:57 by Christoph Rüegg. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-03-2008 22:28

    • BBen
    • Top 75 Contributor
    • Joined on 04-03-2008
    • Posts 1

    Bug in Matrix.CopyToArray() method

     Hello,

    I found a small "copy/paste" bug in the CopyToArray() method of the Matrix class (MathNet.Iridium-2008.3.12.405):

    File: LinearAlgebra/Matrix.cs

    Line: 405

    for(int j = 0; i < _columnCount; j++)

    It should be j, not i.

    Thanks! - BB

  • 04-04-2008 0:52 In reply to

    Re: Bug in Matrix.CopyToArray() method

    Answer

    Thanks for reporting! Confirmed and tracked as IRID-124.

    I think I should raise the priority of writing more unit tests of already existing code...

    Filed under: , ,
  • 04-04-2008 0:57 In reply to

    Re: Bug in Matrix.CopyToArray() method

    Fixed in revision 419. 

Page 1 of 1 (3 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems