]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Uh, fix very subtle bug: cxx thought that this line
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 May 2002 12:44:35 +0000 (12:44 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 May 2002 12:44:35 +0000 (12:44 +0000)
commitb7d81d1b98b5af05d8352cd81117bc16fb8c3dbe
treef10734a6fe4e683172d9cf7c12b9704bad546038
parent84f95bd3b3abf61c232a1d5c22f281c11954418d
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.