diff --git a/example/gradient_descent_example.cpp b/example/gradient_descent_example.cpp index 5145287be..25a7ad4da 100755 --- a/example/gradient_descent_example.cpp +++ b/example/gradient_descent_example.cpp @@ -1,3 +1,7 @@ +// Copyright Maksym Zhelyenzyakov 2026. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) #include #include #include diff --git a/example/lbfgs_example.cpp b/example/lbfgs_example.cpp index 2d745c45d..51980766e 100755 --- a/example/lbfgs_example.cpp +++ b/example/lbfgs_example.cpp @@ -1,3 +1,7 @@ +// Copyright Maksym Zhelyenzyakov 2026. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) #include #include #include diff --git a/example/nesterov_example.cpp b/example/nesterov_example.cpp index a2c9246a7..2b4ff4e4f 100755 --- a/example/nesterov_example.cpp +++ b/example/nesterov_example.cpp @@ -1,3 +1,7 @@ +// Copyright Maksym Zhelyenzyakov 2026. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) #include #include #include @@ -96,7 +100,7 @@ int main(int argc, char* argv[]) const int N = std::stoi(argv[1]); const double lr = 1e-3; - const double mu = 0.95; + const double mu = 0.95; auto u_ad = init_theta_phi_uniform(N); auto nesterov_opt = bopt::make_nag(&thomson_energy>, u_ad, lr, mu);