$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: john_at_[hidden]
Date: 2007-08-29 12:38:14
Author: johnmaddock
Date: 2007-08-29 12:38:13 EDT (Wed, 29 Aug 2007)
New Revision: 39053
URL: http://svn.boost.org/trac/boost/changeset/39053
Log:
Suppressed some gcc warnings.
Text files modified: 
   sandbox/math_toolkit/libs/math/test/test_triangular.cpp |     4 ++--                                    
   1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/math_toolkit/libs/math/test/test_triangular.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_triangular.cpp	(original)
+++ sandbox/math_toolkit/libs/math/test/test_triangular.cpp	2007-08-29 12:38:13 EDT (Wed, 29 Aug 2007)
@@ -379,7 +379,7 @@
     const triangular_distribution<RealType>* const dist = dists[i];
     //cout << "Distribution " << i << endl;
     BOOST_CHECK_EQUAL(quantile(complement(*dists[i], 1.)), quantile(*dists[i], 0.));
-    for (int j = 0; j < sizeof(xs) /sizeof(RealType); j++)
+    for (unsigned j = 0; j < sizeof(xs) /sizeof(RealType); j++)
     {
       RealType x = xs[j];
       BOOST_CHECK_CLOSE_FRACTION(quantile(*dists[i], x), quantile(complement(*dist, 1 - x)),  tol5eps); 
@@ -641,7 +641,7 @@
   cout << showpos << setprecision(2) << endl;
 
   //triangular_distribution<double>& dist = trim12; 
-  for (int i = 0; i < sizeof(xs) /sizeof(double); i++)
+  for (unsigned i = 0; i < sizeof(xs) /sizeof(double); i++)
   {
     double x = xs[i] * (trim12.upper() - trim12.lower()) + trim12.lower();
     double dx = cdf(trim12, x);