Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Num.new
  • Loading branch information
jnthn committed Jun 22, 2013
1 parent 9a89c8e commit 30c82c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Num.pm
Expand Up @@ -19,7 +19,7 @@ my class Num does Real {
nqp::fromnum_I(nqp::unbox_n(self), Int);
}

multi method new() { nqp::box_n(0, self) }
multi method new() { nqp::box_n(0e0, self) }
multi method new($n) { nqp::box_n($n.Num, self) }

multi method perl(Num:D:) {
Expand Down

0 comments on commit 30c82c7

Please sign in to comment.