Removing unused parameters

This commit is contained in:
magni-mar 2024-05-10 14:47:08 +00:00 committed by GitHub
parent 74a91e9d4a
commit 45f8bc1d33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ typedef boost::numeric::ublas::matrix< double > matrix_type;
struct vdp_stiff struct vdp_stiff
{ {
void operator()( const vector_type &x , vector_type &dxdt , double t ) void operator()( const vector_type &x , vector_type &dxdt , double )
{ {
dxdt[0] = x[1]; dxdt[0] = x[1];
dxdt[1] = -x[0] - mu * x[1] * (x[0]*x[0]-1.0); dxdt[1] = -x[0] - mu * x[1] * (x[0]*x[0]-1.0);
@ -42,7 +42,7 @@ struct vdp_stiff
struct vdp_stiff_jacobi struct vdp_stiff_jacobi
{ {
void operator()( const vector_type &x , matrix_type &J , const double &t , vector_type &dfdt ) void operator()( const vector_type &x , matrix_type &J , const double & , vector_type &dfdt )
{ {
J(0, 0) = 0.0; J(0, 0) = 0.0;
J(0, 1) = 1.0; J(0, 1) = 1.0;
@ -55,7 +55,7 @@ struct vdp_stiff_jacobi
}; };
int main( int argc , char **argv ) int main()
{ {
//[ integrate_stiff_system //[ integrate_stiff_system
vector_type x( 2 ); vector_type x( 2 );