From 367f50087cef32b72a9fe9533974c65bbecb3980 Mon Sep 17 00:00:00 2001
From: Laurin Soeding <soeding@physik.rwth-aachen.de>
Date: Sat, 1 Feb 2025 11:31:53 +0100
Subject: [PATCH] flatten->ravel

---
 src/re/multi_grid/grid_impl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/re/multi_grid/grid_impl.py b/src/re/multi_grid/grid_impl.py
index 7bd60d765..37b9b300b 100644
--- a/src/re/multi_grid/grid_impl.py
+++ b/src/re/multi_grid/grid_impl.py
@@ -116,7 +116,7 @@ class HEALPixGrid(Grid):
 
         assert shape0 is None or isinstance(shape0, (int, tuple, np.ndarray))
         if shape0 is not None:
-            shape0 = np.asarray(shape0).flatten()
+            shape0 = np.asarray(shape0).ravel()
             assert (
                 shape0.size == 1
             ), "shape0 must be a scalar or a single-element array/tuple"
-- 
GitLab