1999-09017 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>

* std/valarray_array.h (__valarray_copy): Fix typo.

From-SVN: r29476
This commit is contained in:
Gabriel Dos Reis 1999-09-17 15:19:20 +00:00 committed by Gabriel Dos Reis
parent ba76f5c569
commit 80d789a4d5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1999-09017 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_array.h (__valarray_copy): Fix typo.
1999-09-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/complext.cc (pow): Don't expect floating point promotion

View File

@ -73,7 +73,7 @@ template<typename _Tp>
inline void
__valarray_copy (const _Tp* __restrict__ __a, size_t __n, size_t __s,
_Tp* __restrict__ __b)
{ for (size_t __i=0; __i<__n; ++__i, ++__b, __a += __s) *__b += *__a; }
{ for (size_t __i=0; __i<__n; ++__i, ++__b, __a += __s) *__b = *__a; }
// copy plain __a[<__n>] in strided __b[<__n : __s>]
template<typename _Tp>