diff --git a/wafo/gaussian.py b/wafo/gaussian.py index 5c0d91a..3c72fdc 100644 --- a/wafo/gaussian.py +++ b/wafo/gaussian.py @@ -110,6 +110,8 @@ class Rind(object): >>> Bup[0,ind] = np.minimum(Bup[0,ind] , infinity*dev[indI[ind+1]]) >>> Blo[0,ind] = np.maximum(Blo[0,ind] ,-infinity*dev[indI[ind+1]]) >>> val, err, terr = rind(Sc,m,Blo,Bup,indI, xc, nt=0) + >>> val + >>> np.allclose(val, 0.05494076, rtol=1e-2) True >>> err[0] < 1e-3, terr[0] < 1e-7 diff --git a/wafo/misc.py b/wafo/misc.py index c937c48..5dd2aba 100644 --- a/wafo/misc.py +++ b/wafo/misc.py @@ -592,7 +592,7 @@ class Bunch(object): >>> d = Bunch(test1=1,test2=3) >>> d.test1 1 - >>> d.keys() == ['test1', 'test2'] + >>> sorted(d.keys()) == ['test1', 'test2'] True >>> d.update(test1=2) >>> d.test1