summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/body.cpp4
-rw-r--r--src/body.h2
2 files changed, 3 insertions, 3 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 ----- */
diff --git a/src/body.h b/src/body.h
index 6c1268e..38497e6 100644
--- a/src/body.h
+++ b/src/body.h
@@ -38,7 +38,7 @@ class Body
const Quaterniond &q, const double dt);
Matrix<double,9,9> Q(double dt);
Matrix<double,1,1> R();
- Matrix<double,1,1> S(const Matrix<double,9,9> &P);
+ Matrix<double,1,1> S(const Matrix<double,9,9> &Pxx);
Matrix<double,3,3> skewSymmetric(const Vector3d &x);
void unicsv();