diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2a4b148cb74..06af2dce8ec 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::operator*=, + complex::operator/=): Fix thinko. + 2001-08-10 Gabriel Dos Reis * 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 e16a3bd2c80..be8d9531349 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& complex::operator*=(long double __r) { - __real__ _M_value *= __r; + _M_value *= __r; return *this; } inline complex& complex::operator/=(long double __r) { - __real__ _M_value /= __r; + _M_value /= __r; return *this; }