Skip to content

Commit

Permalink
Fix: Convert array to compatible python data type
Browse files Browse the repository at this point in the history
  • Loading branch information
simmsa committed Nov 29, 2023
1 parent 3986ccc commit 1b973e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mhkit/wave/resource/elevation_spectrum.m
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
ts=py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(li,time,int32(x(2)));

elseif x(2)==1
ts=py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(ts,time,int32(x(2)));
ts=py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(py.list(ts),time,int32(x(2)));

end

Expand Down

0 comments on commit 1b973e4

Please sign in to comment.