From 95fd7604e5e4470465a6493ba18b9c41b240a8fe Mon Sep 17 00:00:00 2001 From: Austin Raney Date: Thu, 2 May 2024 12:25:45 -0400 Subject: [PATCH] chore: add return type hint Co-authored-by: Robert Bartel <37884615+robertbartel@users.noreply.github.com> --- python/ngen_cal/src/ngen/cal/_optimizers/grey_wolf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ngen_cal/src/ngen/cal/_optimizers/grey_wolf.py b/python/ngen_cal/src/ngen/cal/_optimizers/grey_wolf.py index e5538c82..3d05b7e7 100644 --- a/python/ngen_cal/src/ngen/cal/_optimizers/grey_wolf.py +++ b/python/ngen_cal/src/ngen/cal/_optimizers/grey_wolf.py @@ -124,7 +124,7 @@ def optimize( n_processes: Optional[int] = None, verbose: bool = True, **kwargs, - ): + ) -> Tuple[float, np.ndarray]: """Optimize the swarm for a number of iterations Performs the optimization to evaluate the objective