Skip to content
Snippets Groups Projects
Commit b9696053 authored by Felix Gruber's avatar Felix Gruber Committed by Christoph Grüninger
Browse files

[cleanup] use enable_if from std::

parent 6a966177
No related branches found
No related tags found
No related merge requests found
...@@ -1381,12 +1381,12 @@ namespace Dune { ...@@ -1381,12 +1381,12 @@ namespace Dune {
} }
template<typename T> template<typename T>
typename enable_if<std::is_same<field_type,real_type>::value,T>::type conjugate(const T& t) { typename std::enable_if<std::is_same<field_type,real_type>::value,T>::type conjugate(const T& t) {
return t; return t;
} }
template<typename T> template<typename T>
typename enable_if<!std::is_same<field_type,real_type>::value,T>::type conjugate(const T& t) { typename std::enable_if<!std::is_same<field_type,real_type>::value,T>::type conjugate(const T& t) {
return conj(t); return conj(t);
} }
......
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