clang-format and clang-tidy fixes for 7f16cc14

This commit is contained in:
github-actions 2021-10-27 20:23:13 +00:00
parent 7f16cc1413
commit c76e97f010

View File

@ -21,13 +21,12 @@
*/
#include <cassert> /// for assert
#include <cmath> /// for math functions
#include <cmath>
#include <cstdlib> /// for std::atof
#include <functional> /// for std::function
#include <iostream> /// for IO operations
#include <map> /// for std::map container
#include "math.h"
/**
* @namespace numerical_methods
* @brief Numerical algorithms/methods
@ -159,8 +158,9 @@ int main(int argc, char** argv) {
// Check if a<b else abort
assert(a < b && "a has to be less than b");
assert(N > 0 && "N has to be > 0");
if (N < 4 || a != 1 || b != 3)
if (N < 4 || a != 1 || b != 3) {
used_argv_parameters = true;
}
std::cout << "You selected N=" << N << ", a=" << a << ", b=" << b
<< std::endl;
} else {