From 98033e41dc0856c278da4b19b8c821f455e2d6d2 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 9 Mar 2022 15:36:20 +0100 Subject: [PATCH] test only use modern Result.view API --- PRIVATE | 2 +- python/damask/_grid.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PRIVATE b/PRIVATE index 68111b8fc..80152236e 160000 --- a/PRIVATE +++ b/PRIVATE @@ -1 +1 @@ -Subproject commit 68111b8fc3fb45f77d7471ae0f57961b4c77641d +Subproject commit 80152236ef4259e97e10838fdd3bce1dc8b50105 diff --git a/python/damask/_grid.py b/python/damask/_grid.py index 3b7e00480..d4dc456a2 100644 --- a/python/damask/_grid.py +++ b/python/damask/_grid.py @@ -971,10 +971,10 @@ class Grid: extra_keywords = dict(selection=util.ensure_integer_list(selection),invert=invert_selection) material = ndimage.filters.generic_filter( - self.material, - mostFrequent, - size=(stencil if selection is None else stencil//2*2+1,)*3, - mode=('wrap' if periodic else 'nearest'), + self.material, + mostFrequent, + size=(stencil if selection is None else stencil//2*2+1,)*3, + mode=('wrap' if periodic else 'nearest'), extra_keywords=extra_keywords, ).astype(self.material.dtype) return Grid(material = material,