Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change from-radians to work on self rather than a passed parameter.
For some reason Any.from-radians ignored self completely and did its work on a passed parameter. This patch changes from-radians to work on self instead (like Any.to-radians does). Note as well that no conversion to Num is done, it just does the math, so it works fine for Complex too.
- Loading branch information
Showing
2 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters