Skip to content

Commit

Permalink
fix: fix ensemble load error
Browse files Browse the repository at this point in the history
  • Loading branch information
jung235 committed Mar 6, 2024
1 parent cd76733 commit 702341d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydiffuser/tracer/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def get_velocity_autocorrelation(
def __reduce__(self) -> Tuple[Any, ...]:
info = super().__reduce__()
args = self.dt
new_info = (self.__class__, args, *info[2:])
new_info = (self.__class__, (args,), *info[2:])
return new_info

def to_npy(self, npy_path: PathType) -> None:
Expand Down

0 comments on commit 702341d

Please sign in to comment.