Skip to content

Commit d0c3d2a

Browse files
committed
OLS bug #1000
Fix the inappropriate loading the dataset for the estimations of the transfer opterator using OLS.
1 parent aa09527 commit d0c3d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nn/DeepProjections.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def approximate_transfer_operator(self, train_data_loader: DataLoader):
231231
if key not in train_data:
232232
train_data[key] = torch.squeeze(value)
233233
else:
234-
torch.cat([train_data[key], torch.squeeze(value)], dim=0)
234+
train_data[key] = torch.cat([train_data[key], torch.squeeze(value)], dim=0)
235235

236236
# Apply any pre-processing to the state and next state
237237
state, next_state = train_data["state"], train_data["next_state"]

0 commit comments

Comments
 (0)