mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
Remove "|" type for Python < 3.10 compatibility
This commit is contained in:
1 parent
c26ca82c45
commit
6a41fe4060
1 file changed
+1
-1
@@ -220,7 +220,7 @@ def compute_output_vars(output_features, start_idx, end_idx, unrst, rd_init, fea
|
||||
return np.stack(output_data), scaling_params
|
||||
|
||||
|
||||
def extract_newtit_from_file(filename: str | Path) -> list[int]:
|
||||
def extract_newtit_from_file(filename):
|
||||
"""
|
||||
Parse an INFOSTEP file and return the values of the 'NewtIt' column.
|
||||
|
||||
|
||||
Reference in new issue
Block a user