unused parameters

This commit is contained in:
magni-mar 2024-05-10 11:14:07 +00:00 committed by GitHub
parent e1e1709d5a
commit b50a231588
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ const double b = 8.0 / 3.0;
struct lorenz
{
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[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;