Browse Source

Drop redundant check in VectorStorage.CopyToUnchecked

v2
Christoph Ruegg 14 years ago
parent
commit
7b2c8c55af
  1. 6
      src/Numerics/LinearAlgebra/Storage/DenseVectorStorage.cs

6
src/Numerics/LinearAlgebra/Storage/DenseVectorStorage.cs

@ -83,12 +83,6 @@ namespace MathNet.Numerics.LinearAlgebra.Storage
return;
}
if (Length != target.Length)
{
var message = string.Format(Resources.ArgumentMatrixDimensions2, Length, target.Length);
throw new ArgumentException(message, "target");
}
Array.Copy(Data, 0, target.Data, 0, Data.Length);
}

Loading…
Cancel
Save