Fixed a bug in doctest

master
Per A Brodtkorb 9 years ago
parent bd4265bc18
commit 0a96a74e73

@ -1793,7 +1793,7 @@ class TimeSeries(PlotData):
>>> x = wd.sea()
>>> ts = wo.mat2timeseries(x[0:400,:])
>>> T, ix = ts.wave_periods(vh=0.0, pdef='c2c')
>>> np.allclose(T[:3,0], [-0.27, -0.08, 0.32])
>>> np.allclose(T[:3], [-0.27, -0.08, 0.32])
True
h = plb.hist(T)

Loading…
Cancel
Save