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

[bugfix] choose correct index bound in trialfunction evaluation code

parent 486b8bc1
No related branches found
No related tags found
No related merge requests found
......@@ -314,7 +314,7 @@ def evaluate_trialfunction(element, name, restriction, component):
temporary_variable(name, shape=())
lfs = name_lfs(element, restriction, component)
index = lfs_iname(element, restriction, context='trial')
index = lfs_iname(sub_element, restriction, context='trial')
basis = name_basis(sub_element, restriction)
from dune.perftool.pdelab.argument import pymbolic_coefficient
coeff = pymbolic_coefficient(lfs, index, restriction)
......
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