diff src/Grids/grid.jl @ 1275:dcd8654ca33b refactor/grids

Remove getcomponent stubs since we might have a cleaner way to solve it with map or lazymap
author Jonatan Werpers <jonatan@werpers.com>
date Sun, 26 Feb 2023 11:53:23 +0100
parents 7fab13c07412
children 1157f889bf50
line wrap: on
line diff
--- a/src/Grids/grid.jl	Sat Feb 25 22:57:00 2023 +0100
+++ b/src/Grids/grid.jl	Sun Feb 26 11:53:23 2023 +0100
@@ -62,15 +62,6 @@
     end
 end
 
-"""
-    getcomponent(gfun, I::Vararg{Int})
-
-Return one of the components of gfun as a grid function.
-"""
-# Should it be lazy? Could it be a view?
-function getcomponent(gfun, I::Vararg{Int}) end
-# function getcomponent(gfun, s::Symbol) end ?
-
 
 # TODO: Explain how these are intended to be used
 _ncomponents(::Type{<:Number}) = 1