diff options
Diffstat (limited to 'src/body.cpp')
-rw-r--r-- | src/body.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/body.cpp b/src/body.cpp index a5c572a..83838a5 100644 --- a/src/body.cpp +++ b/src/body.cpp @@ -47,10 +47,10 @@ Body::vel ( const Matrix<double,3,1> &v ) *-------------------------------------------------------------------------------------- */ Matrix<double,1,1> -Body::S ( const Matrix<double,9,9> &P ) +Body::S ( const Matrix<double,9,9> &Pxx ) { Matrix<double,1,1> S; - S << P(2,2); + S << Pxx(2,2); return S+R(); } /* ----- end of method Body::S ----- */ |