Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change Num._modf to "my" to make it private.
  • Loading branch information
colomon committed Oct 4, 2009
1 parent 42ed85a commit 1ca164a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setting/Num.pm
Expand Up @@ -250,7 +250,7 @@ class Num is also {
~self
}
sub _modf($num) { my $q = $num.Int; $num - $q, $q; }
my sub _modf($num) { my $q = $num.Int; $num - $q, $q; }
multi method Rat($epsilon = 1.0e-6) {
my $num = +self;
Expand Down

0 comments on commit 1ca164a

Please sign in to comment.