phetsims / dot

A math library with a focus on mutable and immutable linear algebra for 2D and 3D applications.
http://scenerystack.org/
MIT License
13 stars 6 forks source link

Root multiplicity in solveCubicRootsReal #105

Open jonathanolson opened 3 years ago

jonathanolson commented 3 years ago

It looks like we should be including "repeated" roots multiple times in the returned array, but we're not. See https://github.com/phetsims/dot/issues/31#issuecomment-451044704