From: wolf Date: Mon, 10 May 2004 16:33:56 +0000 (+0000) Subject: Slightly change the /= function to use *= instead of scale(). X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e804900b765aeb19b9e1f388a3845d44aa54cc66;p=dealii-svn.git Slightly change the /= function to use *= instead of scale(). git-svn-id: https://svn.dealii.org/trunk@9225 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/vector.h b/deal.II/lac/include/lac/vector.h index afe374a872..de05932d3a 100644 --- a/deal.II/lac/include/lac/vector.h +++ b/deal.II/lac/include/lac/vector.h @@ -896,7 +896,7 @@ template inline Vector & Vector::operator /= (const Number factor) { - scale (1./factor); + *this *= (1./factor); return *this; }