Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

&defined is now a listop

  • Loading branch information...
commit 26cf7c66f929edc1eb546355cf11ec2dcdee2ed4 1 parent 10747ca
@moritz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Math/Model.pm
View
2  lib/Math/Model.pm
@@ -85,7 +85,7 @@ method integrate(:$from = 0, :$to = 10, :$min-resolution = ($to - $from) / 20, :
my @r;
for %!inv{@!deriv-names} {
my $v = %.variables{$_};
- @r.push: defined $v
+ @r.push: $v.defined
?? $v(|self!params-for($v))
!! %!current-values{$_};
}
Please sign in to comment.
Something went wrong with that request. Please try again.