Skip to content
Snippets Groups Projects
Commit cfdebb50 authored by Elias Pipping's avatar Elias Pipping
Browse files

Test complex<T> for floating point T only

The standard leaves (the effect of instantiating) complex<T> for more
general T unspecified.
parent c8ad7196
No related branches found
No related tags found
1 merge request!11Test complex<T> for floating point T only
......@@ -119,9 +119,6 @@ int main()
const size_t numBlocks = 10;
const size_t capacity = BlockSize * numBlocks * 2; // use capacity here, that we can use the a constructor taking two integers for both BlockVector and VariableBlockVector
ret += DotProductTest<Dune::BlockVector<Dune::FieldVector<int,BlockSize> >, Dune::BlockVector<Dune::FieldVector<std::complex<int>,BlockSize> > > (numBlocks,capacity);
ret += DotProductTest<Dune::VariableBlockVector<Dune::FieldVector<int,1> >, Dune::VariableBlockVector<Dune::FieldVector<std::complex<int>,1> > > (numBlocks,BlockSize);
ret += DotProductTest<Dune::BlockVector<Dune::FieldVector<int,BlockSize> >, Dune::BlockVector<Dune::FieldVector<int,BlockSize> > > (numBlocks,capacity);
ret += DotProductTest<Dune::VariableBlockVector<Dune::FieldVector<int,1> >, Dune::VariableBlockVector<Dune::FieldVector<int,1> > > (numBlocks,1);
......
  • Author Developer

    This would be nice to have in the 2.4 release branch, too.

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