From: Wolfgang Bangerth Date: Mon, 10 May 2004 16:33:56 +0000 (+0000) Subject: Slightly change the /= function to use *= instead of scale(). X-Git-Tag: v8.0.0~15191 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2849668b0645c4ff0e816bfa7d78e4943fbbdff0;p=dealii.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; }