From 118dc6164ad635e178321fd7822172fe15aa87c5 Mon Sep 17 00:00:00 2001 From: LSchueler Date: Fri, 14 Aug 2020 13:39:49 +0200 Subject: [PATCH] Remove check for isotropicity in do_rotation This is an unnecessary check and hinders the ability to quickly rotate an isotropic field for prettier plots. --- gstools/covmodel/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstools/covmodel/base.py b/gstools/covmodel/base.py index 180aa876..16ff4845 100644 --- a/gstools/covmodel/base.py +++ b/gstools/covmodel/base.py @@ -1220,7 +1220,7 @@ def name(self): def do_rotation(self): """:any:`bool`: State if a rotation is performed.""" return ( - not np.all(np.isclose(self.angles, 0.0)) and not self.is_isotropic + not np.all(np.isclose(self.angles, 0.0)) ) @property