Skip to content

Commit

Permalink
Remove troublesome atan2 is export declarations to make atan2 work pr…
Browse files Browse the repository at this point in the history
…operly.
  • Loading branch information
colomon committed Oct 20, 2009
1 parent f5b38a0 commit 1ab0699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/setting/Any-num.pm
Expand Up @@ -150,7 +150,7 @@ class Any is also {
self.Num.atan($base);
}

our Num multi method atan2($x = 1, $base = 'radians') is export {
our Num multi method atan2($x = 1, $base = 'radians') {
self.Num.atan2($x, $base);
}

Expand Down
2 changes: 1 addition & 1 deletion src/setting/Num.pm
Expand Up @@ -142,7 +142,7 @@ class Num is also {
$r!from-radians($base)
}
our Num multi method atan2(Num $x = 1, $base = 'radians') is export {
our Num multi method atan2(Num $x = 1, $base = 'radians') {
my $r = Q:PIR {
$N0 = self
$P1 = find_lex "$x"
Expand Down

0 comments on commit 1ab0699

Please sign in to comment.