Skip to content
Snippets Groups Projects
Commit f6a985ec authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Remove unused function

parent 0f36c9fa
No related branches found
No related tags found
No related merge requests found
......@@ -20,15 +20,6 @@ def name_index(index):
raise NotImplementedError
def pymbolic_index(index):
from ufl.classes import FixedIndex
if isinstance(index, FixedIndex):
return index._value
else:
from pymbolic.primitives import Variable
return Variable(name_index(index))
def restricted_name(name, restriction):
from dune.perftool import Restriction
if restriction == Restriction.NONE:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment