]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Make fixed_power also work for data types that have no implicit conversion from int...
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Apr 2013 17:23:40 +0000 (17:23 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Apr 2013 17:23:40 +0000 (17:23 +0000)
commit520456dae07eb659639a30eea9fa852e05b30794
tree66ba596b7e21688b7d10e7127a9971f936eea09e
parent21632b72422d572ea98edd037ff0974264157254
Make fixed_power also work for data types that have no implicit conversion from int by avoiding setting the return value to 1 for N==0 (only N>0 allowed anyway).

git-svn-id: https://svn.dealii.org/trunk@29355 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/include/deal.II/base/utilities.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.