Skip to content

Commit

Permalink
Revert from_sparse in adjacency_0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jude Khouja committed Oct 8, 2023
1 parent 3a723a4 commit 5118ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/cell/can_train.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
"\n",
"for cell_complex in cc_list:\n",
" adjacency_0 = cell_complex.adjacency_matrix(rank=0)\n",
" adjacency_0 = from_sparse(adjacency_0)\n",
" adjacency_0 = torch.from_numpy(adjacency_0.todense()).to_sparse()\n",
" adjacency_0_list.append(adjacency_0)\n",
"\n",
" lower_neighborhood_t = cell_complex.down_laplacian_matrix(rank=1)\n",
Expand Down

0 comments on commit 5118ee2

Please sign in to comment.