aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/bits/std_complex.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2a4b148..06af2dc 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de
+
+ * include/bits/std_complex.h (complex<long double>::operator*=,
+ complex<long double>::operator/=): Fix thinko.
+
2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/std_limits.h: New file.
diff --git a/libstdc++-v3/include/bits/std_complex.h b/libstdc++-v3/include/bits/std_complex.h
index e16a3bd..be8d9531 100644
--- a/libstdc++-v3/include/bits/std_complex.h
+++ b/libstdc++-v3/include/bits/std_complex.h
@@ -930,14 +930,14 @@ namespace std
inline complex<long double>&
complex<long double>::operator*=(long double __r)
{
- __real__ _M_value *= __r;
+ _M_value *= __r;
return *this;
}
inline complex<long double>&
complex<long double>::operator/=(long double __r)
{
- __real__ _M_value /= __r;
+ _M_value /= __r;
return *this;
}