Skip to content
Snippets Groups Projects
Commit 003c2b5c authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

follow-up fix since the return value of orthonormalFrame() has changed

[[Imported from SVN: r6437]]
parent 9386ed99
No related branches found
No related tags found
No related merge requests found
......@@ -97,11 +97,16 @@ public:
/** \brief The exponential map */
static UnitVector exp(const UnitVector& p, const TangentVector& v) {
Dune::FieldMatrix<double,N-1,N> frame = p.orthonormalFrame();
Dune::FieldMatrix<double,N,N> frame = p.orthonormalFrame();
EmbeddedTangentVector ev;
frame.mtv(v,ev);
// This is frame.mtv for the matrix consisting of the first N-1 rows
for( size_t i = 0; i < N; ++i ) {
ev[i] = 0;
for( size_t j = 0; j < N-1; ++j )
ev[i] += frame[j][i] * v[j];
}
return exp(p,ev);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment