mirror of
https://github.com/boostorg/odeint.git
synced 2025-05-11 13:34:09 +00:00
unused parameters
This commit is contained in:
parent
e1e1709d5a
commit
b50a231588
@ -41,7 +41,7 @@ const double b = 8.0 / 3.0;
|
|||||||
struct lorenz
|
struct lorenz
|
||||||
{
|
{
|
||||||
template< class State , class Deriv >
|
template< class State , class Deriv >
|
||||||
void operator()( const State &x , Deriv &dxdt , double t ) const
|
void operator()( const State &x , Deriv &dxdt , double ) const
|
||||||
{
|
{
|
||||||
dxdt[0] = sigma * ( x[1] - x[0] );
|
dxdt[0] = sigma * ( x[1] - x[0] );
|
||||||
dxdt[1] = R * x[0] - x[1] - x[0] * x[2];
|
dxdt[1] = R * x[0] - x[1] - x[0] * x[2];
|
||||||
@ -51,7 +51,7 @@ struct lorenz
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
int main( int argc , char **argv )
|
int main()
|
||||||
{
|
{
|
||||||
typedef std::array< double , 3 > state_type;
|
typedef std::array< double , 3 > state_type;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user