From b5f45c97d0fcaf8b81afe5171737bbb04cc3d669 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 1 Jul 2019 11:10:39 +0200 Subject: [PATCH] Fix: Issue with copying variables_scope into complete_scope solved --- mapytex/calculus/core/random/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapytex/calculus/core/random/__init__.py b/mapytex/calculus/core/random/__init__.py index 70bbe24..76f9709 100644 --- a/mapytex/calculus/core/random/__init__.py +++ b/mapytex/calculus/core/random/__init__.py @@ -228,7 +228,7 @@ def build_variable_scope(rd_variables, rejected, min_max, variables_scope): >>> completed == complete True """ - complete_scope = variables_scope + complete_scope = variables_scope.copy() for v in rd_variables: try: complete_scope[v]