Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix copy-pasto in minmax
  • Loading branch information
TimToady committed Mar 12, 2015
1 parent e84f718 commit 699f9b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Any.pm
Expand Up @@ -411,11 +411,11 @@ my class Any { # declared in BOOTSTRAP

if .isa(Range) {
if !$min.defined || $cmp($_.min, $min) < 0 {
$min = $_;
$min = .min;
$excludes-min = $_.excludes-min;
}
if !$max.defined || $cmp($_.max, $max) > 0 {
$max = $_;
$max = .max;
$excludes-max = $_.excludes-max;
}
} else {
Expand Down

0 comments on commit 699f9b0

Please sign in to comment.