test only use modern Result.view API
This commit is contained in:
parent
b916712946
commit
98033e41dc
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
|||
Subproject commit 68111b8fc3fb45f77d7471ae0f57961b4c77641d
|
||||
Subproject commit 80152236ef4259e97e10838fdd3bce1dc8b50105
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue