Version
1.2.0
On which installation method(s) does this occur?
Pip
Describe the issue
in examples/structural_mechanics/deforming_plate/helpers.py line 67 falling to error when no world space finded, because we have 1d zero torch tensor, and second dim was checking in if construction:
if world_edges.shape[1] == 0:
# No new world edges to add
return (
graph,
graph.edge_attr,
torch.zeros((0, graph.edge_attr.shape[1]), device=device),
)
replacement world_edges.shape[1] == 0 with world_edges.size()[0] == 0 helps.
Minimum reproducible example
Relevant log output
Environment details