Browse Source

cannot push, seeing if checking in the changed Complex.cs file helps

Signed-off-by: Marcus Cuda <marcus@cuda.net>
pull/2/head
Marcus Cuda 17 years ago
parent
commit
b72659a196
  1. 4
      src/Managed/Complex.cs

4
src/Managed/Complex.cs

@ -211,7 +211,7 @@ namespace MathNet.Numerics
/// <value><c>true</c> if this instance is zero; otherwise, <c>false</c>.</value> /// <value><c>true</c> if this instance is zero; otherwise, <c>false</c>.</value>
public bool IsZero public bool IsZero
{ {
get { throw new NotImplementedException(); } // return Number.AlmostZero(real) && Number.AlmostZero(imag); } get { return _real.AlmostZero() && _imag.AlmostZero(); }
} }
/// <summary> /// <summary>
@ -220,7 +220,7 @@ namespace MathNet.Numerics
/// <value><c>true</c> if this instance is one; otherwise, <c>false</c>.</value> /// <value><c>true</c> if this instance is one; otherwise, <c>false</c>.</value>
public bool IsOne public bool IsOne
{ {
get { throw new NotImplementedException(); } // return Number.AlmostEqual(real, 1) && Number.AlmostZero(imag); } get { return _real.AlmostEqual(1.0) && _imag.AlmostZero(); }
} }
/// <summary> /// <summary>

Loading…
Cancel
Save