Skip to content
Browse files

`scaling => 'yp'` sets `a_y` and `a_dydt` correctly

Closes #1
  • Loading branch information...
1 parent 28cbf43 commit a1ce1c39327d17d520816f0bd884091eff74c0f3 @jberger committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/PerlGSL/DiffEq.pm
View
2 lib/PerlGSL/DiffEq.pm
@@ -98,7 +98,7 @@ sub ode_solver {
if ($opts->{scaling} eq 'y') {
# This is currently the default, do nothing
} elsif ($opts->{scaling} eq 'yp') {
- ($a_y, $a_dydt) = (1, 0);
+ ($a_y, $a_dydt) = (0, 1);
} else {
carp "Could not understand scaling specification. Using defaults.";
}

0 comments on commit a1ce1c3

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