diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-10 13:40:17 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-10 13:40:17 +0000 |
commit | 5afaec29eb16b28957e90b356c7889f96ee8fcd5 (patch) | |
tree | ae768de1c0d0b4a78960554aa98f00f5746db2d5 | |
parent | f4b8dba54fecb26d5527f8aba92555b06a53037c (diff) | |
download | gcc-5afaec29eb16b28957e90b356c7889f96ee8fcd5.tar.gz |
2004-03-10 Paolo Carlini <pcarlini@suse.de>
* testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79253 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/26_numerics/valarray_subset_assignment.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 265b25a3e71..7594eca655b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2004-03-10 Paolo Carlini <pcarlini@suse.de> + + * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos. + 2004-03-10 Paul Kienzle <pkienzle@nist.gov> Paolo Carlini <pcarlini@suse.de> diff --git a/libstdc++-v3/testsuite/26_numerics/valarray_subset_assignment.cc b/libstdc++-v3/testsuite/26_numerics/valarray_subset_assignment.cc index b8caaed889c..9298bfb046f 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray_subset_assignment.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray_subset_assignment.cc @@ -33,7 +33,7 @@ #include <valarray> #include <testsuite_hooks.h> -bool check_array(std::valarray<double>& a, double[] b) +bool check_array(std::valarray<double>& a, double b[]) { for (int i=0; i < a.size(); i++) if (a[i] != b[i]) return false; @@ -65,7 +65,7 @@ int main() std::gslice gslc(1, val_size, val_stride); val_c[gslc] = val_d1[gslc]; - double ans2[10] = {10, 1, 2, 3 10, 5, 6, 7, 10, 10}; + double ans2[10] = {10, 1, 2, 3, 10, 5, 6, 7, 10, 10}; VERIFY(check_array(val_c, ans2)); std::valarray<bool> val_b(false, 10); |