Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sweep_layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ def main() -> None:

rows = []
raw_json_lines = []
invalid_fanouts = [f for f in args.fanouts if f <= 1]
if invalid_fanouts:
print(f"ERROR: Fanouts must be > 1, got {invalid_fanouts}", file=sys.stderr)
sys.exit(1)

for leaves in leaf_counts:
for fanout in args.fanouts:
Expand Down