Please sign in to comment.
tweak unrad: do not use posify
Posify allows some radicals to simplify to zero when they shouldn't. A test for which this happened was added. This also raised the issue that expr.as_poly() may fail when expr simplifies to a constant during the expansion process that poly uses, so this is circumnvented by pre-expanding the expression and checking for this condition.
- Loading branch information...
Showing with 15 additions and 10 deletions.