@@ -27,7 +27,7 @@ namespace qlibs {
2727 */
2828 enum integrationMethod {
2929 INTEGRATION_RECTANGULAR, /* !< Numerical integration using the rectangular rule*/
30- INTEGRATION_TRAPEZOIDAL, /* !< Numerical integration using the trapezoidal rectangular rule*/
30+ INTEGRATION_TRAPEZOIDAL, /* !< Numerical integration using the trapezoidal rule*/
3131 INTEGRATION_SIMPSON, /* !< Numerical integration using the Simpson's 1/3 rule.*/
3232 INTEGRATION_QUADRATIC, /* !< Numerical integration using a parabola fit to three points.*/
3333 };
@@ -60,13 +60,13 @@ namespace qlibs {
6060 integrationMethod iMethod{ INTEGRATION_TRAPEZOIDAL };
6161 derivationMethod dMethod{ DERIVATION_2POINTS };
6262 public:
63- virtual ~nState () {}
63+ virtual ~nState () = default ;
6464
6565 /* *
6666 * @brief Constructor for the state object
67- * @param[in] x0 initial condition at time t(0)
68- * @param[in] sn_1 initial condition at time (t-1)
69- * @param[in] sn_2 initial condition at time (t-2)
67+ * @param[in] x0 Initial condition at time t(0)
68+ * @param[in] sn_1 Initial condition at time (t-1)
69+ * @param[in] sn_2 Initial condition at time (t-2)
7070 */
7171 nState ( const real_t x0 = 0 .0_re,
7272 const real_t sn_1 = 0 .0_re,
@@ -77,9 +77,9 @@ namespace qlibs {
7777
7878 /* *
7979 * @brief Initialize the state object
80- * @param[in] x0 initial condition at time t(0)
81- * @param[in] sn_1 initial condition at time (t-1)
82- * @param[in] sn_2 initial condition at time (t-2)
80+ * @param[in] x0 Initial condition at time t(0)
81+ * @param[in] sn_1 Initial condition at time (t-1)
82+ * @param[in] sn_2 Initial condition at time (t-2)
8383 */
8484 void init ( const real_t x0 = 0 .0_re,
8585 const real_t sn_1 = 0 .0_re,
@@ -236,7 +236,7 @@ namespace qlibs {
236236 private:
237237 real_t dt;
238238 public:
239- virtual ~integrator () {}
239+ virtual ~integrator () = default ;
240240
241241 /* *
242242 * @brief Constructs an integrator block with a given @a timeStep time
@@ -278,7 +278,7 @@ namespace qlibs {
278278 private:
279279 real_t dt;
280280 public:
281- virtual ~derivative () {}
281+ virtual ~derivative () = default ;
282282
283283 /* *
284284 * @brief Constructs a derivative block with a given @a timeStep and
0 commit comments