valarray_array.h (__valarray_min, [...]): Fix thinko.

* bits/valarray_array.h (__valarray_min, __valarray_max): Fix
	thinko. Diagnostic messages really need to be improved for
	template argument deduction.

From-SVN: r35804
This commit is contained in:
Gabriel Dos Reis 2000-08-19 11:28:22 +00:00 committed by Gabriel Dos Reis
parent 75d9a5e709
commit b426bedd5d
2 changed files with 8 additions and 2 deletions

View 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...

View 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();