]> https://gitweb.dealii.org/ - dealii.git/commit
Uh, fix very subtle bug: cxx thought that this line
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 29 May 2002 12:44:35 +0000 (12:44 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 29 May 2002 12:44:35 +0000 (12:44 +0000)
commitcd82ad6bd9cc09ef5ab72ccc15c1ecfb5e195272
tree2c3b0493cda9cedd1c0abb879e8da1656c2830a1
parent9280bfb51b519a3c0ddc17cef916cec414234987
Uh, fix very subtle bug: cxx thought that this line
n_pols_to(dim+1, 0)
had the signature
  std::vector<T>::vector (InputIterator, InputIterator, Allocator)
Why? Because both args are (signed) integers, and it wanted to convert
these to pointers, rather than the first to size_t and the second to
T=unsigned int. Fix this by using the fact that the zero initializer
is implied when omitted, so just leave the size of the array.

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