From 45f8bc1d3331982b9e140688555a3effbb99e7a7 Mon Sep 17 00:00:00 2001 From: magni-mar <135731785+magni-mar@users.noreply.github.com> Date: Fri, 10 May 2024 14:47:08 +0000 Subject: [PATCH] Removing unused parameters --- examples/van_der_pol_stiff.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/van_der_pol_stiff.cpp b/examples/van_der_pol_stiff.cpp index a53ae4db..4fe9b63a 100644 --- a/examples/van_der_pol_stiff.cpp +++ b/examples/van_der_pol_stiff.cpp @@ -33,7 +33,7 @@ typedef boost::numeric::ublas::matrix< double > matrix_type; 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[1] = -x[0] - mu * x[1] * (x[0]*x[0]-1.0); @@ -42,7 +42,7 @@ struct vdp_stiff 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, 1) = 1.0; @@ -55,7 +55,7 @@ struct vdp_stiff_jacobi }; -int main( int argc , char **argv ) +int main() { //[ integrate_stiff_system vector_type x( 2 );