From 4ddde0a9886ce177a3c931f878c929757247b2a1 Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Tue, 13 Jun 2017 12:15:35 +0200 Subject: [PATCH] pep8 --- wafo/markov.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wafo/markov.py b/wafo/markov.py index 5bcbb95..92d6a38 100644 --- a/wafo/markov.py +++ b/wafo/markov.py @@ -1277,7 +1277,7 @@ def arfm2mctp(Frfc): # z1H = -C1/2/C2 + sqrt((C1/2/C2)^2-C0/C2); # z2H = -C1/2/C2 - sqrt((C1/2/C2)^2-C0/C2); # -# # fprintf(1,'2nd: i=%d, j=%d: z1S=%f,: z2S=%f, z1H=%f, z2H=%f\n',i,j,z1S,z2S,z1H,z2H); +# # fprintf(1,'2nd: i=%d, j=%d: z1S=%f,: z2S=%f, z1H=%f, z2H=%f\n',i,j,z1S,z2S,z1H,z2H) # # else # @@ -1378,12 +1378,14 @@ def arfm2mctp(Frfc): # y = 0; # else # # Define coeficients for equation system -# a0 = pS*c0h*c0+pS*Rh^2*R-2*pS*Rh*R-E3h*Max*c0h*e0*Rh+E3h*Max*c0h*e0+2*pS*Rh+pS*R-pS*c0h*c0*Rh-pS-pS*Rh^2+E3h*Max*c0h*Dh*c0; +# a0 = (pS*c0h*c0+pS*Rh^2*R-2*pS*Rh*R-E3h*Max*c0h*e0*Rh+E3h*Max*c0h*e0+2*pS*Rh +# +pS*R-pS*c0h*c0*Rh-pS-pS*Rh^2+E3h*Max*c0h*Dh*c0) # a1 = pS*c1h*c0+E3h*Max*c1h*Dh*c0-E3h*Max*c1h*e0*Rh-pS*c1h*c0*Rh+E3h*Max*c1h*e0; # a2 = pS*c0h*c1+E3h*Max*c0h*e1-pS*c0h*c1*Rh+E3h*Max*c0h*Dh*c1-E3h*Max*c0h*e1*Rh; # a3 = -E3h*Max*c1h*e1*Rh+E3h*Max*c1h*Dh*c1+E3h*Max*c1h*e1+pS*c1h*c1-pS*c1h*c1*Rh; # -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