valarray_array.h (__valarray_min, [...]): Fix thinko.
authorGabriel Dos Reis <gdr@codesourcery.com>
Sat, 19 Aug 2000 11:28:22 +0000 (11:28 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sat, 19 Aug 2000 11:28:22 +0000 (11:28 +0000)
* bits/valarray_array.h (__valarray_min, __valarray_max): Fix
thinko. Diagnostic messages really need to be improved for
template argument deduction.

From-SVN: r35804

libstdc++-v3/ChangeLog
libstdc++-v3/bits/valarray_array.h

index ac431c8c90002115189ed4943024222723785f4e..438a5926ae2745fa6a9da5e930e5ca4914d0ec51 100644 (file)
@@ -1,3 +1,9 @@
+2000-08-19  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
+       thinko. Diagnostic messages really need to be improved for
+       template argument deduction.
+
 2000-08-18  Benjamin Kosnik  <bkoz@gnu.org>
 
        * bits/valarray_meta.h: Fix typos...
index de8a3bf20aa7232965e98e96c3adce6d55efeb94..2c88877bd28721a849f6e660b25bfba0023508a3 100644 (file)
@@ -296,7 +296,7 @@ namespace std
 
   // Compute the min/max of an array-expression
   template<typename _Ta>
-  inline typename _Ta::value_array
+  inline typename _Ta::value_type
   __valarray_min(const _Ta& __a)
   {
     size_t __s = __a.size();
@@ -312,7 +312,7 @@ namespace std
   }
   
   template<typename _Ta>
-  inline typename _Ta::value_array
+  inline typename _Ta::value_type
   __valarray_max(const _Ta& __a)
   {
     size_t __s = __a.size();