File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class MassMatrixIdentity : public MassMatrix
47
47
public:
48
48
explicit MassMatrixIdentity (const std::size_t N) : MassMatrix(), m_N(N) {}
49
49
50
- void operator ()(sparse_matrix &M, const double t) const
50
+ void operator ()(sparse_matrix &M, [[maybe_unused]] const double t) const
51
51
{
52
52
M.A .resize (m_N, 1.0 );
53
53
M.i .resize (m_N); // Resize and then overwrite in a loop worked faster than reserve and push_back
@@ -67,7 +67,7 @@ class MassMatrixIdentity : public MassMatrix
67
67
class MassMatrixZero : public MassMatrix
68
68
{
69
69
public:
70
- void operator ()(sparse_matrix &M, const double t) const
70
+ void operator ()(sparse_matrix &M, [[maybe_unused]] const double t) const
71
71
{
72
72
M.A .clear ();
73
73
M.i .clear ();
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ struct SolutionManager
47
47
* The functor can return `solver_command::decrease_time_step_and_redo` to decrease the time step size and redo the current time step.
48
48
* It does nothing by default and returns 0 (`solver_command::continue_integration`).
49
49
*/
50
- virtual int operator ()(const state_vector &x, const double t)
50
+ virtual int operator ()([[maybe_unused]] const state_vector &x, [[maybe_unused]] const double t)
51
51
{
52
52
return 0 ;
53
53
}
You can’t perform that action at this time.
0 commit comments