Skip to content

Commit

Permalink
It should be !from-radians, not .from-radians.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Feb 16, 2010
1 parent 76aa9dd commit 1e7c195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Num.pm
Expand Up @@ -123,7 +123,7 @@ augment class Num {
}

multi method atanh($base = 'radians') {
(((1 + self) / (1 - self)).log / 2).from-radians($base);
(((1 + self) / (1 - self)).log / 2)!from-radians($base);
}

multi method sech($base = 'radians') {
Expand Down

0 comments on commit 1e7c195

Please sign in to comment.