Skip to content

Commit

Permalink
FIX/CI: resolves gh-89; update github action/upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
mckib2 committed Sep 22, 2024
1 parent eabef6f commit 4f6c791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand All @@ -67,7 +67,7 @@ jobs:
- name: Build sdist
run: python -m build .

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand Down
2 changes: 1 addition & 1 deletion pygrappa/radialgrappaop.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def radialgrappaop(
RtR = dxy.T @ dxy
RtG = dxy.T @ lGtheta
lamda0 = lamda*np.linalg.norm(RtR)/RtR.shape[0]
res = np.linalg.solve(RtR + lamda*np.eye(RtR.shape[0]), RtG)
res = np.linalg.solve(RtR + lamda0*np.eye(RtR.shape[0]), RtG)
lGx = np.reshape(res[0, :], (nc, nc))
lGy = np.reshape(res[1, :], (nc, nc))

Expand Down

0 comments on commit 4f6c791

Please sign in to comment.