Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
obackhouse committed Jul 18, 2024
1 parent 336fed9 commit c3a630f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
- name: Bootstrap
run: |
git checkout bootstrap
# add ", k" onto the end of line 2411 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/gristmill/optimize.py
sed -i '2411s/$/, k/' /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/gristmill/optimize.py
chmod +x .github/workflows/bootstrap_all.sh
cd ebcc/codegen && ./../../.github/workflows/bootstrap_all.sh
- name: Run unit tests
Expand Down
2 changes: 0 additions & 2 deletions ebcc/codegen/bootstrap_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ def optimise(outputs, exprs, spin, strategy="greedy", sizes=None):
index_sizes.update({Index(index, space=sector, spin=s): sizes[sector] for index in indices})
index_groups.append([Index(index, space=sector, spin=s) for index in indices])

for o, e in zip(outputs, exprs):
print(o, "=", e)
opt = _optimise(
*zip(outputs, exprs),
index_groups=index_groups,
Expand Down

0 comments on commit c3a630f

Please sign in to comment.