Skip to content
Snippets Groups Projects

[BugFix] Fix indexing with ghostlayers

Closed Markus Holzer requested to merge holzer/pystencils:FixMod into master
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -130,7 +130,9 @@ def create_indexed_kernel(assignments: Union[AssignmentCollection, NodeCollectio
@@ -130,7 +130,9 @@ def create_indexed_kernel(assignments: Union[AssignmentCollection, NodeCollectio
assert len(spatial_coordinates) == 1, f"Non-index fields do not have the same number of spatial coordinates " \
assert len(spatial_coordinates) == 1, f"Non-index fields do not have the same number of spatial coordinates " \
f"Non index fields are {non_index_fields}, spatial coordinates are " \
f"Non index fields are {non_index_fields}, spatial coordinates are " \
f"{spatial_coordinates} and len(spatial coordiantes) is " \
f"{spatial_coordinates} and len(spatial coordiantes) is " \
f"{len(spatial_coordinates)}"
f"{len(spatial_coordinates)}, " \
 
f"index_fields in config: {config.index_fields}, " \
 
f"extracted index fields: {index_fields} "
spatial_coordinates = list(spatial_coordinates)[0]
spatial_coordinates = list(spatial_coordinates)[0]
def get_coordinate_symbol_assignment(name):
def get_coordinate_symbol_assignment(name):
Loading