Skip to content

Commit d2c2ff1

Browse files
committed
fix bug
1 parent e6a2111 commit d2c2ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ppsci/arch/phylstm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(self, input_size, output_size, hidden_size=100, model_type=2):
9292
nn.Linear(hidden_size, output_size),
9393
)
9494
else:
95-
raise ValueError(f"model_type should be 2 or 3, but got {model_type})")
95+
raise ValueError(f"model_type should be 2 or 3, but got {model_type}")
9696

9797
def forward(self, x):
9898
if self._input_transform is not None:

0 commit comments

Comments
 (0)