Skip to content
Snippets Groups Projects
Commit 155dcaa3 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Use std::conditional instead of Dune::SelectType

[[Imported from SVN: r9648]]
parent bed38d30
No related branches found
No related tags found
No related merge requests found
......@@ -88,9 +88,9 @@ public:
result.r[i] = p.r[i] + v[i];
// Add rotational correction
typedef typename Dune::SelectType<Dune::is_same<TVector,TangentVector>::value,
typedef typename std::conditional<Dune::is_same<TVector,TangentVector>::value,
typename Rotation<ctype,N>::TangentVector,
typename Rotation<ctype,N>::EmbeddedTangentVector>::Type RotationTangentVector;
typename Rotation<ctype,N>::EmbeddedTangentVector>::type RotationTangentVector;
RotationTangentVector qCorr;
for (int i=0; i<RotationTangentVector::dimension; i++)
qCorr[i] = v[N+i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment