From 3a5b84b4bc1c4e7b69c9a5b7d6d5af8098873df6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20M=C3=BCller?= <mueller.seb@posteo.de>
Date: Sat, 11 Jan 2025 11:55:09 +0100
Subject: [PATCH] fix variable name

---
 src/finam/data/tools/core.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/finam/data/tools/core.py b/src/finam/data/tools/core.py
index 525d5663..b628ae60 100644
--- a/src/finam/data/tools/core.py
+++ b/src/finam/data/tools/core.py
@@ -180,8 +180,8 @@ def _no_grid_shape_valid(data_shape, grid):
         return False
     dshp = np.array(data_shape)
     gshp = np.array(grid.data_shape)
-    check = gshp != -1
-    return np.all(dshp[check] == gshp[check])
+    fix_dims = gshp != -1
+    return np.all(dshp[fix_dims] == gshp[fix_dims])
 
 
 def has_time_axis(xdata, grid):
-- 
GitLab