Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed May 4, 2024
1 parent 6982512 commit 8230a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Added

- Added `torch_geometric.Index` ([#9276](https://github.com/pyg-team/pytorch_geometric/pull/9276))
- Added support for PyTorch 2.3 ([#9240](https://github.com/pyg-team/pytorch_geometric/pull/9240))
- Added support for `EdgeIndex` in `message_and_aggregate` ([#9131](https://github.com/pyg-team/pytorch_geometric/pull/9131))
- Added `CornellTemporalHyperGraphDataset` ([#9090](https://github.com/pyg-team/pytorch_geometric/pull/9090))
Expand Down
2 changes: 1 addition & 1 deletion test/test_edge_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_identity(dtype, device, is_undirected):
adj = EdgeIndex([[0, 1, 1, 2], [1, 0, 2, 1]], sparse_size=(3, 3), **kwargs)

out = EdgeIndex(adj)
print(out._data)
assert not isinstance(out.to_tensor(), EdgeIndex)
assert out.data_ptr() == adj.data_ptr()
assert out.dtype == adj.dtype
assert out.device == adj.device
Expand Down

0 comments on commit 8230a4f

Please sign in to comment.