]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Slightly change the /= function to use *= instead of scale().
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 10 May 2004 16:33:56 +0000 (16:33 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 10 May 2004 16:33:56 +0000 (16:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@9225 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/vector.h

index afe374a87214260f6db6dad52d59ba6464768887..de05932d3a35ac2e3d8b767327df568a574c0695 100644 (file)
@@ -896,7 +896,7 @@ template <typename Number>
 inline
 Vector<Number> & Vector<Number>::operator /= (const Number factor)
 {
-  scale (1./factor);
+  *this *= (1./factor);
   return *this;
 }
 

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.