diff --git a/hog/operator_generation/function_space_impls.py b/hog/operator_generation/function_space_impls.py index c2b0466eaada25ce1d9e6ea96d13aaf8d981e6d2..956001b75dd2c2f62b33f1695891047f03c923ec 100644 --- a/hog/operator_generation/function_space_impls.py +++ b/hog/operator_generation/function_space_impls.py @@ -285,13 +285,13 @@ class P0FunctionSpaceImpl(FunctionSpaceImpl): indexing_info: IndexingInfo, element_vertex_ordering: List[int], ) -> List[Field.Access]: - vertex_dof_indices = micro_element_to_volume_indices( + volume_dof_indices = micro_element_to_volume_indices( element_type, element_index, 1, VolumeDoFMemoryLayout.SoA ) vertex_array_indices = [ dof_idx.array_index(geometry, indexing_info) - for dof_idx in vertex_dof_indices + for dof_idx in volume_dof_indices ] return [