From 7f16cc1413743d336499196c7662879618800441 Mon Sep 17 00:00:00 2001 From: ggkogkou <76820848+ggkogkou@users.noreply.github.com> Date: Wed, 27 Oct 2021 23:08:28 +0300 Subject: [PATCH] Update numerical_methods/midpoint_integral_method.cpp Co-authored-by: David Leal --- numerical_methods/midpoint_integral_method.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/numerical_methods/midpoint_integral_method.cpp b/numerical_methods/midpoint_integral_method.cpp index 02776645f..76c9ee97b 100644 --- a/numerical_methods/midpoint_integral_method.cpp +++ b/numerical_methods/midpoint_integral_method.cpp @@ -133,7 +133,12 @@ static void test(int N, double h, double a, double b, << "] is equal to: " << result_l << std::endl; } -/** main function */ +/** + * @brief Main function + * @param argc commandline argument count (ignored) + * @param argv commandline array of arguments (ignored) + * @returns 0 on exit + */ int main(int argc, char** argv) { int N = 16; /// Number of intervals to divide the integration interval. /// MUST BE EVEN