Commit 0199c312 authored by rusty1s's avatar rusty1s
Browse files

return None for batch

parent eace3488
......@@ -42,7 +42,7 @@ def grid_cluster(position, size, batch=None):
cluster, u = consecutive(cluster)
if batch is None:
return cluster
return cluster, None
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