diff --git a/doc/dox/dev/devsamp/main/fibonacci/fibonacci.cc b/doc/dox/dev/devsamp/main/fibonacci/fibonacci.cc index fce6d9954..d2d829c45 100644 --- a/doc/dox/dev/devsamp/main/fibonacci/fibonacci.cc +++ b/doc/dox/dev/devsamp/main/fibonacci/fibonacci.cc @@ -14,7 +14,7 @@ struct Fn { ar & F; } }; -auto make_ttg_fib_lt(const int64_t F_n_max =1000) { +auto make_ttg_fib_lt(const int64_t F_n_max = 1000) { ttg::Edge f2f; ttg::Edge f2p; @@ -45,8 +45,7 @@ auto make_ttg_fib_lt(const int64_t F_n_max =1000) { int main(int argc, char* argv[]) { ttg::initialize(argc, argv, -1); - int64_t N = 1000; - if (argc > 1) N = std::atol(argv[1]); + int64_t N = (argc > 1) ? std::atol(argv[1]) : 1000; auto fib = make_ttg_fib_lt(N); ttg::make_graph_executable(fib.get());