Skip to content

Commit 7776c29

Browse files
authored
Merge pull request #106 from descriptinc/ag/real
Fix to use `real` instead of `real()`
2 parents a1a2c86 + 41c08ff commit 7776c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/core/test_grad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _test_audio_grad(attr: str, target=True, kwargs: dict = {}):
2828
if result.stft_data is not None:
2929
result.istft()
3030
if result.audio_data.dtype.is_complex:
31-
result.audio_data.real().sum().backward()
31+
result.audio_data.real.sum().backward()
3232
else:
3333
result.audio_data.sum().backward()
3434
else:

0 commit comments

Comments
 (0)