diff --git a/pytential/linalg/skeletonization.py b/pytential/linalg/skeletonization.py index 5bf0557d5..cb8b916c8 100644 --- a/pytential/linalg/skeletonization.py +++ b/pytential/linalg/skeletonization.py @@ -399,7 +399,7 @@ def make_skeletonization_wrangler( try: lpot_exprs = list(exprs) except TypeError: - lpot_exprs = [exprs] + lpot_exprs = [exprs] # type: ignore[list-item] try: input_exprs = list(input_exprs) @@ -796,8 +796,7 @@ def skeletonize_by_proxy( skels: np.ndarray = np.empty((wrangler.nrows, wrangler.ncols), dtype=object) for ibrow in range(wrangler.nrows): for ibcol in range(wrangler.ncols): - # NOTE: type annotations for object arrays are not there yet - skels[ibrow, ibcol] = _skeletonize_block_by_proxy_with_mats( # type: ignore[call-overload] + skels[ibrow, ibcol] = _skeletonize_block_by_proxy_with_mats( actx, ibrow, ibcol, places, proxy, wrangler, tgt_src_index, id_eps=id_eps, id_rank=id_rank, max_particles_in_box=max_particles_in_box)