[mlpack-svn] r14910 - mlpack/trunk/src/mlpack/core/math

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Apr 17 15:03:33 EDT 2013


Author: rcurtin
Date: 2013-04-17 15:03:32 -0400 (Wed, 17 Apr 2013)
New Revision: 14910

Modified:
   mlpack/trunk/src/mlpack/core/math/random.hpp
Log:
Minor formatting change.


Modified: mlpack/trunk/src/mlpack/core/math/random.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/math/random.hpp	2013-04-16 16:37:17 UTC (rev 14909)
+++ mlpack/trunk/src/mlpack/core/math/random.hpp	2013-04-17 19:03:32 UTC (rev 14910)
@@ -102,12 +102,12 @@
 inline int RandInt(const int lo, const int hiExclusive)
 {
 #if BOOST_VERSION >= 103900
-  return lo + (int) std::floor((double)(hiExclusive - lo) 
+  return lo + (int) std::floor((double) (hiExclusive - lo)
                                * randUniformDist(randGen));
 #else
   // Before Boost 1.39, we did not give the random object when we wanted a
   // random number; that gets given at construction time.
-  return lo + (int) std::floor((double)(hiExclusive - lo) 
+  return lo + (int) std::floor((double) (hiExclusive - lo)
                                * randUniformDist());
 #endif
 




More information about the mlpack-svn mailing list