]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Move operator=(number), i.e. scalar fill, as inline function into the
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 Jan 2002 08:54:16 +0000 (08:54 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 Jan 2002 08:54:16 +0000 (08:54 +0000)
commitc6523b07cddd153295429a7eb2637ceb313d88b7
treec086d473d804eed7855f71e1901e8efbd1ac72e1
parent23e377095b44edd72e9015ff79099c11bfe48405
Move operator=(number), i.e. scalar fill, as inline function into the
header file. Reasons:
1/ can be optimized out by the compiler if fill value == 0 (memset)
2/ works around a recent linker error in the base tests

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