Skip to content

Commit aff48ac

Browse files
committed
Correct typo in comment
1 parent 8d9a2ff commit aff48ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s2fft/utils/torch_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def torch_tensor_to_jax_array(torch_tensor: torch.Tensor) -> jax.Array:
103103
# https://github.com/data-apis/array-api-compat/issues/173#issuecomment-2272192054
104104
# so we explicitly resolve any conjugacy operations implied by bit before conversion
105105
torch_tensor = torch_tensor.resolve_conj()
106-
# DLPack compatibility does support tensors that require gradient so detach. As
106+
# DLPack compatibility does not support tensors that require gradient so detach. As
107107
# this intended for use when wrapping JAX code detaching tensor from gradient values
108108
# should not be problematic as derivatives will be separately routed via JAX
109109
torch_tensor = torch_tensor.detach()

0 commit comments

Comments
 (0)