summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits/std_complex.h
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-10 02:30:57 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-10 02:30:57 +0000
commit92f36c8ecd5865a1b5dca4b0c47a6c8d8b96d208 (patch)
treeb06b6e0d33bd5d8e29fd33002907e7ce646f46e1 /libstdc++-v3/include/bits/std_complex.h
parentfa8a010ba87f83b4c2395aca58c04a2dcdee0aa4 (diff)
downloadppe42-gcc-92f36c8ecd5865a1b5dca4b0c47a6c8d8b96d208.tar.gz
ppe42-gcc-92f36c8ecd5865a1b5dca4b0c47a6c8d8b96d208.zip
2001-01-09 Peter Schmid<schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/std_complex.h: Fix a typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38848 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/std_complex.h')
-rw-r--r--libstdc++-v3/include/bits/std_complex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/std_complex.h b/libstdc++-v3/include/bits/std_complex.h
index 18e1b02b165..92a5223ec20 100644
--- a/libstdc++-v3/include/bits/std_complex.h
+++ b/libstdc++-v3/include/bits/std_complex.h
@@ -504,7 +504,7 @@ namespace std
inline complex<_Tp>
pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
{
- return exp(__x * log(__x));
+ return exp(__y * log(__x));
}
template<typename _Tp>
OpenPOWER on IntegriCloud