"tools/cfgs/git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "1a42e442815b4f9c2774ea4ddce229c36ec83378"
Commit 29f2ffe0 authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Fix another chunk tuning bug

parent b84dd8cb
......@@ -474,9 +474,9 @@ class ChunkSizeTuner:
# If args have changed shape/value, we need to re-tune
assert(len(self.cached_arg_data) == len(arg_data))
arg_data_iter = zip(self.cached_arg_data, arg_data)
for cached_arg_data, arg_data in arg_data_iter:
assert(type(cached_arg_data) == type(arg_data))
consistent = cached_arg_data == arg_data
for cached_arg_datum, arg_datum in arg_data_iter:
assert(type(cached_arg_datum) == type(arg_datum))
consistent = cached_arg_datum == arg_datum
else:
# Otherwise, we can reuse the precomputed value
consistent = False
......
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