Commit b84dd8cb authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Fix chunk size tuner bug

parent 4bfd5bf0
...@@ -472,7 +472,7 @@ class ChunkSizeTuner: ...@@ -472,7 +472,7 @@ class ChunkSizeTuner:
] ]
if(self.cached_arg_data is not None): if(self.cached_arg_data is not None):
# If args have changed shape/value, we need to re-tune # If args have changed shape/value, we need to re-tune
assert(len(self.cached_arg_data) == len(args)) assert(len(self.cached_arg_data) == len(arg_data))
arg_data_iter = zip(self.cached_arg_data, arg_data) arg_data_iter = zip(self.cached_arg_data, arg_data)
for cached_arg_data, arg_data in arg_data_iter: for cached_arg_data, arg_data in arg_data_iter:
assert(type(cached_arg_data) == type(arg_data)) assert(type(cached_arg_data) == type(arg_data))
......
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