From 30ab4fd3026464a1a523316ed39765aeafb37109 Mon Sep 17 00:00:00 2001
From: Bert Palm <bert.palm@ufz.de>
Date: Wed, 12 Jun 2019 17:06:42 +0200
Subject: [PATCH] minor fix

---
 core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core.py b/core.py
index ecc803d50..f3712adab 100644
--- a/core.py
+++ b/core.py
@@ -92,7 +92,7 @@ def runner(meta, flagger, data, flags=None, nodata=np.nan):
 
             try:
                 dchunk, ffchunk = flagDispatch(func_name,
-                                               dchunk, fchunk, varname,
+                                               dchunk, fchunk.copy(), varname,
                                                flagger, nodata=nodata,
                                                **flag_params)
             except NameError:
-- 
GitLab