Commit 31638af9 authored by rusty1s's avatar rusty1s
Browse files

Revert "return None for batch"

This reverts commit 0199c312.
parent 0199c312
......@@ -42,7 +42,7 @@ def grid_cluster(position, size, batch=None):
cluster, u = consecutive(cluster)
if batch is None:
return cluster, None
return cluster
else:
print(p_max.tolist(), size.tolist(), C)
batch = (u / C).long()
......
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