diff --git a/VectoCore/Utils/VectoMath.cs b/VectoCore/Utils/VectoMath.cs index 9adb009096a07051dab36304204e217a54a05a87..0538c4555a56c2983bed989c50f5a1842856e762 100644 --- a/VectoCore/Utils/VectoMath.cs +++ b/VectoCore/Utils/VectoMath.cs @@ -80,7 +80,7 @@ namespace TUGraz.VectoCore.Utils retVal.Add((-b - Math.Sqrt(D)) / (2 * a)); } else { // only one solution possible - retVal.Add((-b / (4 * a * c))); + retVal.Add((-b / (2 * a))); } return retVal; }