1.cc: Use non-negative rho argument.

* testsuite/26_numerics/complex/value_operations/1.cc: Use
	non-negative rho argument.

From-SVN: r224739
This commit is contained in:
Jonathan Wakely 2015-06-22 16:09:32 +01:00 committed by Jonathan Wakely
parent e51d877098
commit e39c4966c7
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2015-06-22 Jonathan Wakely <jwakely@redhat.com>
* testsuite/26_numerics/complex/value_operations/1.cc: Use
non-negative rho argument.
* include/debug/list (__gnu_debug::list): Use allocator-aware
_Safe_container base.
* include/debug/string (__gnu_debug::basic_string): Use

View File

@ -53,7 +53,7 @@ void test01()
complex_type e __attribute__((unused)) = conj(c);
complex_type f = polar(c.imag(), 0.0);
complex_type f = polar(std::abs(c.imag()), 0.0);
VERIFY( f.real() != 0 );
}