Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 9e17125d authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

bugfix in quadratic solution computation

parent 9edce992
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment