DanWBR/dwsim3 — pull request #28 by waqqasdadabhoy (2014-05-20 17:33:49+00:00)
Title: Rename & refactor cubic solver

Renamed CalcRoots to CalcCubicRoots, refactored common code into FindCubicRoot.
Created function SortRoots to extract code that has been copy-pasted in various files into 1 place.