Commit f4a2efa7 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

small fix

parent c7e95442
...@@ -79,7 +79,7 @@ def distaxis(arr): ...@@ -79,7 +79,7 @@ def distaxis(arr):
def from_local_data(shape, arr, distaxis=-1): def from_local_data(shape, arr, distaxis=-1):
if shape != arr.shape: if tuple(shape) != arr.shape:
raise ValueError raise ValueError
return arr return arr
......
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