Skip to content

Commit

Permalink
Update runge kutta.cpp
Browse files Browse the repository at this point in the history
change to 
static const double b0[1]={};
  • Loading branch information
jpkneller authored Aug 19, 2024
1 parent 9f505fe commit 0d65eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BEMEWS/_ext/mstl/math2/analysis/runge kutta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void RungeKuttaCashKarpParameters(int &NRK,int &NOrder,const double* &A,const do
{ NRK=6; NOrder=5;

static const double a[]={ 0., 1./5., 3./10., 3./5., 1., 7./8. };
static const double b0[]={};
static const double b0[0]={};
static const double b1[]={ 1./5. };
static const double b2[]={ 3./40.,9./40. };
static const double b3[]={ 3./10.,-9./10.,6./5. };
Expand Down

0 comments on commit 0d65eaa

Please sign in to comment.