]> https://gitweb.dealii.org/ - dealii.git/commit
Bugfix: Remove wrong bugfix
authorMatthias Maier <tamiko@43-1.org>
Sat, 12 Sep 2015 05:46:19 +0000 (00:46 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 13 Sep 2015 00:51:43 +0000 (19:51 -0500)
commitdd6766aca5217bf9fae72ef31a37cce9010622c5
tree15fe24458eca26f8fcb716982eb8d5a09a613694
parentd2cd81c8294f57bd14c8a0130359e9cdce12a1b0
Bugfix: Remove wrong bugfix

This is just a mistake. We should tackle the fundamental problem, namely
that we do not have templated operator* for mixed std::complex types
available.

Explicitly casting to product_type at every occurence of a possible product
of another scalar with a complex number type is not just tedious, it is
also strictly speaking not correct:

The type trait ProductType<Left, Right>::type defines the type that results
from calling operator* on those types - but neither Left, nor Right, have
to be convertible to a ProductType... (The contraction of tensors as we do
with operator* is an example)
cmake/checks/check_03_compiler_bugs.cmake
include/deal.II/base/config.h.in
include/deal.II/base/tensor.h

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.