]> https://gitweb.dealii.org/ - dealii.git/commitdiff
make astyle happy
authorMatthias Maier <tamiko@43-1.org>
Fri, 1 May 2015 11:46:18 +0000 (13:46 +0200)
committerMatthias Maier <tamiko@43-1.org>
Mon, 11 May 2015 21:05:20 +0000 (23:05 +0200)
include/deal.II/lac/linear_operator.h

index 04776a6c0f98a20676c42dedf23652b44dda0fc8..80ac97ed699851b5a829c757ff3f90b15570b9bb 100644 (file)
@@ -991,12 +991,11 @@ linear_operator(const OperatorExemplar &operator_exemplar, const Matrix &matrix)
  */
 template <typename Matrix1,
           typename Matrix2,
-          typename = typename std::enable_if<! std::is_convertible<LinearOperator<Vector<double>>, Matrix1>::value>::type,
-          typename = typename std::enable_if<! std::is_convertible<LinearOperator<Vector<double>>, Matrix2>::value>::type,
+          typename = typename std::enable_if<! std::is_convertible<LinearOperator<Vector<double> >, Matrix1>::value>::type,
+          typename = typename std::enable_if<! std::is_convertible<LinearOperator<Vector<double> >, Matrix2>::value>::type,
           typename = typename std::enable_if<has_vmult<Vector<double>, Vector<double>, Matrix1>::type::value>::type,
-          typename = typename std::enable_if<has_vmult<Vector<double>, Vector<double>, Matrix2>::type::value>::type
-         >
-LinearOperator<Vector<double>, Vector<double>>
+          typename = typename std::enable_if<has_vmult<Vector<double>, Vector<double>, Matrix2>::type::value>::type>
+LinearOperator<Vector<double>, Vector<double> >
 operator*(const Matrix1 &first_matrix,
           const Matrix2 &second_matrix)
 {
@@ -1023,10 +1022,9 @@ operator*(const Matrix1 &first_matrix,
 template <typename Range,
           typename Intermediate,
           typename Matrix,
-          typename = typename std::enable_if<! std::is_convertible<LinearOperator<Vector<double>>, Matrix>::value>::type,
-          typename = typename std::enable_if<has_vmult<Vector<double>, Vector<double>, Matrix>::type::value>::type
-         >
-LinearOperator<Range, Vector<double>>
+          typename = typename std::enable_if<! std::is_convertible<LinearOperator<Vector<double> >, Matrix>::value>::type,
+          typename = typename std::enable_if<has_vmult<Vector<double>, Vector<double>, Matrix>::type::value>::type>
+LinearOperator<Range, Vector<double> >
 operator*(const LinearOperator<Range, Intermediate> &op,
           const Matrix &matrix)
 {
@@ -1052,9 +1050,8 @@ operator*(const LinearOperator<Range, Intermediate> &op,
 template <typename Intermediate,
           typename Domain,
           typename Matrix,
-          typename = typename std::enable_if<! std::is_convertible<LinearOperator<Vector<double>>, Matrix>::value>::type,
-          typename = typename std::enable_if<has_vmult<Vector<double>, Vector<double>, Matrix>::type::value>::type
-         >
+          typename = typename std::enable_if<! std::is_convertible<LinearOperator<Vector<double> >, Matrix>::value>::type,
+          typename = typename std::enable_if<has_vmult<Vector<double>, Vector<double>, Matrix>::type::value>::type>
 LinearOperator<Vector<double>, Domain>
 operator*(const Matrix &matrix,
           const LinearOperator<Intermediate, Domain> &op)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.