Closed RaulPPelaez closed 1 year ago
Current Distance module fails when loop=True and positions have dtype=torch.double. This PR fixes this by making sure edge_weight has the same dtype as edge_vectors in this specific case.
Current Distance module fails when loop=True and positions have dtype=torch.double. This PR fixes this by making sure edge_weight has the same dtype as edge_vectors in this specific case.