Skip to content

Commit ef19777

Browse files
committed
maybe this is correct not sure yet.
1 parent 12b6cd2 commit ef19777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch_sim/runners.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,8 +538,8 @@ def static(
538538
@dataclass
539539
class StaticState(type(state)):
540540
energy: torch.Tensor
541-
forces: torch.Tensor | None
542-
stress: torch.Tensor | None
541+
forces: torch.Tensor
542+
stress: torch.Tensor
543543

544544
all_props: list[dict[str, torch.Tensor]] = []
545545
og_filenames = trajectory_reporter.filenames

0 commit comments

Comments
 (0)