Skip to content

Commit 6bd3f25

Browse files
committed
map_node_coordinate_component: Use get_target_or_discretization
1 parent d26c40f commit 6bd3f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytential/symbolic/execution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def map_ones(self, expr: pp.Ones):
252252
self.array_context.thaw(discr.nodes()[0]))
253253

254254
def map_node_coordinate_component(self, expr: pp.NodeCoordinateComponent):
255-
discr = self.places.get_discretization(
255+
discr = self.places.get_target_or_discretization(
256256
expr.dofdesc.geometry, expr.dofdesc.discr_stage)
257257

258258
x = discr.nodes()[expr.ambient_axis]

0 commit comments

Comments
 (0)