Skip to content

Commit 37db5db

Browse files
committed
Format
1 parent 35bab80 commit 37db5db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ptwt/_util.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ def _check_same_device_dtype(
224224
torch_device, torch_dtype = c.device, c.dtype
225225

226226
# check for all tensors in `coeffs` that the device matches `torch_device`
227-
_apply_to_tensor_elems(coeffs, partial(_check_same_device, torch_device=torch_device))
227+
_apply_to_tensor_elems(
228+
coeffs, partial(_check_same_device, torch_device=torch_device)
229+
)
228230
# check for all tensors in `coeffs` that the dtype matches `torch_dtype`
229231
_apply_to_tensor_elems(coeffs, partial(_check_same_dtype, torch_dtype=torch_dtype))
230232

0 commit comments

Comments
 (0)