From c8b1932c272ca83053d3583e86a2fe78acd3f036 Mon Sep 17 00:00:00 2001 From: Umberto Villa Date: Sun, 20 Nov 2022 18:47:49 -0600 Subject: [PATCH] Update main.py `generate_from_array` is missing parameters `exude_time_limit` and `exude_sliver_bound` from the list of input. This causes an error when calling `generate_from_inr` since arguments are called positionally an not by keyword. --- pygalmesh/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pygalmesh/main.py b/pygalmesh/main.py index 50b3777..d9ff055 100644 --- a/pygalmesh/main.py +++ b/pygalmesh/main.py @@ -452,6 +452,8 @@ def generate_from_array( max_cell_circumradius: float | dict[int | str, float] = 0.0, max_facet_distance: float = 0.0, max_circumradius_edge_ratio: float = 0.0, + exude_time_limit: float = 0.0, + exude_sliver_bound: float = 0.0, verbose: bool = True, seed: int = 0, ): @@ -471,6 +473,8 @@ def generate_from_array( max_facet_distance, max_circumradius_edge_ratio, max_cell_circumradius, + exude_time_limit, + exude_sliver_bound, verbose, seed, )