Unverified Commit 82fee5a2 authored by ekka's avatar ekka Committed by GitHub
Browse files

Fix bug in `coalesced` arg of transpose

Replaces `coalesce` with `coalesced` as coalesce is a function and `coalesced` is an arg.
parent 7c55386b
...@@ -23,6 +23,6 @@ def transpose(index, value, m, n, coalesced=True): ...@@ -23,6 +23,6 @@ def transpose(index, value, m, n, coalesced=True):
row, col = index row, col = index
index = torch.stack([col, row], dim=0) index = torch.stack([col, row], dim=0)
if coalesce: if coalesced:
index, value = coalesce(index, value, n, m) index, value = coalesce(index, value, n, m)
return index, value return index, value
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment