From b8a190b1ceda20935d921e3847d4452332ff8d36 Mon Sep 17 00:00:00 2001 From: LSchueler Date: Mon, 15 Jul 2024 11:17:44 +0200 Subject: [PATCH] Remove superfluous code --- src/gstools/variogram/variogram.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gstools/variogram/variogram.py b/src/gstools/variogram/variogram.py index 3df2dfa3..6c51f172 100644 --- a/src/gstools/variogram/variogram.py +++ b/src/gstools/variogram/variogram.py @@ -559,11 +559,6 @@ def vario_estimate_axis( if missing: field.mask = np.logical_or(field.mask, missing_mask) mask = np.ma.getmaskarray(field) - if ( - not config.USE_GSTOOLS_CORE - and config._GSTOOLS_CORE_AVAIL # pylint: disable=W0212 - ): # pylint: disable=W0212 - mask = np.asarray(mask, dtype=np.int32) else: field = np.atleast_1d(np.asarray(field, dtype=np.double)) missing_mask = None # free space