Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

switch method integrate to named args, just as the tests expect

  • Loading branch information...
commit 6c3f359e0f24d8523e94f891977f34b19285e0e0 1 parent 3462809
Moritz Lenz authored April 25, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Math/Model.pm
2  lib/Math/Model.pm
@@ -57,7 +57,7 @@ method topo-sort(*@vars) {
57 57
 }
58 58
 
59 59
 
60  
-method integrate($from = 0, $to = 10, $min-resolution = ($to - $from) / 20, :$verbose) {
  60
+method integrate(:$from = 0, :$to = 10, :$min-resolution = ($to - $from) / 20, :$verbose) {
61 61
     for %.derivatives -> $d {
62 62
         die "There must be a variable defined for each derivative, missiing for '$d.key()'"
63 63
             unless %.variables.exists($d.key) || %!inv.exists($d.key);

0 notes on commit 6c3f359

Please sign in to comment.
Something went wrong with that request. Please try again.