From 66f5d145f89da36b697e6bd39fb04b6a293ca048 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 19 Jan 2023 14:41:08 +0100 Subject: find_bound: allow specifying the family --- find_bound.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/find_bound.py b/find_bound.py index 40ec22d..72f4dab 100755 --- a/find_bound.py +++ b/find_bound.py @@ -17,6 +17,7 @@ parser.add_argument('--bounds-tolerance', type = float, default = 1e-8) parser.add_argument('--solve-tolerance', type = float, default = 1e-12) parser.add_argument('--scale-factor', type = float, default = 3.0) parser.add_argument('--max-iter', default = 32) +parser.add_argument('--family', default = 0) args = parser.parse_args() @@ -44,7 +45,7 @@ while not converged(bounds, args.bounds_tolerance): 'basis_scale_factor' : [args.scale_factor, args.scale_factor], 'atol' : args.solve_tolerance, 'max_iter' : args.max_iter, - 'family' : 0, + 'family' : args.family, } #if prev_coeffs: -- cgit v1.2.3