]> https://gitweb.dealii.org/ - dealii.git/commit
Work around a MS Visual Studio oddity. 2868/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 26 Jul 2016 03:33:55 +0000 (21:33 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 26 Jul 2016 03:33:55 +0000 (21:33 -0600)
commitbc00417764101b5874b1535e43a5be1e57c9663a
treed7c3f36ffa8d70166cfbd1f158687da86c18e18f
parentddeac99ef11f296a1b2888cd4eb2d88afe4b2642
Work around a MS Visual Studio oddity.

The compiler should just choose between two overloaded template functions. But, MS Visual
Studio once again gets all bent out of shape over it. Fix this by just using a plain
'if' statement, rather than relying on template specializations and overloads. This
works now because we made faces of 1d cells look very much the same as faces of
regular cells, and so the dim-dimensional code actually compiles also in 1d these
days.
include/deal.II/numerics/vector_tools.templates.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.