Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-harmonics
Commits
67370881
"CITATION" did not exist on "c94ad7a016d57fcc6d07b90a2af37aeed9db7159"
Commit
67370881
authored
Jul 21, 2025
by
Andrea Paris
Committed by
Boris Bonev
Jul 21, 2025
Browse files
correction
parent
9fb288c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
tests/test_sht.py
tests/test_sht.py
+3
-4
No files found.
tests/test_sht.py
View file @
67370881
...
...
@@ -81,10 +81,9 @@ class TestLegendrePolynomials(unittest.TestCase):
class
TestSphericalHarmonicTransform
(
unittest
.
TestCase
):
"""Test the spherical harmonic transform (CPU/CUDA if available)."""
def
setUp
(
self
):
if
torch
.
cuda
.
is_available
():
self
.
device
=
torch
.
device
(
"cuda"
)
else
:
self
.
device
=
torch
.
device
(
"cpu"
)
torch
.
manual_seed
(
333
)
if
self
.
device
.
type
==
"cuda"
:
torch
.
cuda
.
manual_seed
(
333
)
@
parameterized
.
expand
(
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment