From 5cefa66fd4782e2ecf50770888e9ae043b79c1b9 Mon Sep 17 00:00:00 2001 From: Martin Miller Date: Sat, 25 Mar 2017 16:13:37 -0500 Subject: Update Body::S Change variable name to reflect that we are only using Pxx and not the full P matrix. --- src/body.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/body.cpp') 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 &v ) *-------------------------------------------------------------------------------------- */ Matrix -Body::S ( const Matrix &P ) +Body::S ( const Matrix &Pxx ) { Matrix S; - S << P(2,2); + S << Pxx(2,2); return S+R(); } /* ----- end of method Body::S ----- */ -- cgit v1.1