]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Explicitly specify templates. Not specifying them would make the compiler confused...
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 10 Nov 2015 19:33:31 +0000 (20:33 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 10 Nov 2015 19:33:31 +0000 (20:33 +0100)
include/deal.II/lac/block_linear_operator.h

index 567a0e788d62f7f206b3f32bf524128fd2e9295a..5182815646ada68e204ef63cf8620ab269795d15 100644 (file)
@@ -588,7 +588,7 @@ block_diagonal_operator(const std::array<LinearOperator<typename Range::BlockTyp
           new_ops[i][j].reinit_domain_vector = ops[j].reinit_domain_vector;
         }
 
-  return block_operator(new_ops);
+  return block_operator<m,m,Range,Domain>(new_ops);
 }
 
 

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.