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:
parent
ba76f5c569
commit
80d789a4d5
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user