Skip to content

Commit 0eded60

Browse files
authored
Merge pull request #166 from emmanuel-ferdman/main
Modernize logger interface
2 parents 9bb07cd + 917772c commit 0eded60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mattergen/diffusion/corruption/corruption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def maybe_expand(x: torch.Tensor, batch: B, like: torch.Tensor = None) -> torch.
4949
return x
5050
else:
5151
if x.shape[0] == batch.shape[0]:
52-
logging.warn(
52+
logging.warning(
5353
"Warning: batch shape is == x shape, are you trying to expand something that is already expanded?"
5454
)
5555
return x[batch]

0 commit comments

Comments
 (0)