Skip to content

Commit 4b5a735

Browse files
generatedunixname2094418054467506meta-codesync[bot]
authored andcommitted
Fix python_unnecessary_generator_set_comprehension issues in faiss/.../bench_fw/optimize.py (#5205)
Summary: Pull Request resolved: #5205 Differential Revision: D104626788 fbshipit-source-id: e73b744ab36002c04b0d36baa9dfef43a0030546
1 parent 6789bf5 commit 4b5a735

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchs/bench_fw/optimize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def optimize_codec(
275275
pareto_metric=ParetoMetric.TIME_SPACE,
276276
)
277277
results = [
278-
factory[r] for r in set(v["factory"] for _, _, _, k, v in filtered)
278+
factory[r] for r in {v["factory"] for _, _, _, k, v in filtered}
279279
]
280280
return results
281281

0 commit comments

Comments
 (0)