Browse Source

fixed bug in sparse matrix parsing

pull/75/head
Marcus Cuda 14 years ago
parent
commit
6eb9bca773
  1. 3
      src/Numerics.IO/LinearAlgebra/IO/Matlab/MatlabParser.cs

3
src/Numerics.IO/LinearAlgebra/IO/Matlab/MatlabParser.cs

@ -412,7 +412,8 @@ namespace MathNet.Numerics.LinearAlgebra.IO.Matlab
for (var i = 0; i < ir.Count; i++)
{
var row = ir[i];
if (jc[col + 1] == i)
// if (jc[col + 1] == i)
while(jc[col + 1] == i)
{
col++;
}

Loading…
Cancel
Save