Skip to content

Commit

Permalink
Updated changelog and python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Barbone committed May 9, 2024
1 parent e2dee3c commit 8e25453
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ If not stated, FINUFFT is assumed (cuFINUFFT <=1.3 is listed separately).
* MAX_NF increased from 1e11 to 1e12, since machines grow.
* improved GPU python docs: migration guide; usage from cupy, numba, torch,
pycuda. PyPI pkg still at 2.2.0beta.
* Used new foldrescale and removed tests for the range

V 2.2.0 (12/12/23)

Expand Down
4 changes: 0 additions & 4 deletions python/finufft/test/test_finufft_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,5 @@ def test_finufft_plan_errors():
plan.setpts(np.ones(3, dtype="float32"), s=np.ones(3, dtype="float32"))
plan.execute(np.ones((2, 3), dtype="complex64"), out=np.ones((2, 4), dtype="complex64"))

with pytest.raises(RuntimeError, match=r"point out of range \[-3pi,3pi\]"):
plan = Plan(1, (8,), dtype="complex64")
plan.setpts(4 * np.pi * np.ones(1, dtype="float32"))

with pytest.raises(RuntimeError, match="transform type invalid"):
plan = Plan(4, (8,))

0 comments on commit 8e25453

Please sign in to comment.