]> https://gitweb.dealii.org/ - dealii.git/commit
Make fixed_power also work for data types that have no implicit conversion from int...
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 21 Apr 2013 17:23:40 +0000 (17:23 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 21 Apr 2013 17:23:40 +0000 (17:23 +0000)
commit315fa84d11c992d9d4c1e9696e4bed47d2d5e656
tree2c364ce0689fe1b0e2cdfe9a065c1ca79687bb8d
parent525c84a2bbbbd187a82c2c3b27727d8016e9876f
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.