[mlpack-git] master: Proper template order to BallBound. (c0cdb8b)

gitdub at mlpack.org gitdub at mlpack.org
Fri May 27 20:21:36 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/3d1ed0fa731b4f34d0c02ae63c37d4106e23a9f8...2fe9e82b63507ef60440c22c93d85d058023535c

>---------------------------------------------------------------

commit c0cdb8b3fad77b2f9d026e84a0f27ca16c896acd
Author: MarcosPividori <marcos.pividori at gmail.com>
Date:   Fri May 27 21:02:53 2016 -0300

    Proper template order to BallBound.


>---------------------------------------------------------------

c0cdb8b3fad77b2f9d026e84a0f27ca16c896acd
 src/mlpack/tests/serialization_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/tests/serialization_test.cpp b/src/mlpack/tests/serialization_test.cpp
index 9bddbc2..73a960c 100644
--- a/src/mlpack/tests/serialization_test.cpp
+++ b/src/mlpack/tests/serialization_test.cpp
@@ -354,12 +354,12 @@ BOOST_AUTO_TEST_CASE(BallBoundTest)
 
 BOOST_AUTO_TEST_CASE(MahalanobisBallBoundTest)
 {
-  BallBound<arma::vec, MahalanobisDistance<>> b(100);
+  BallBound<MahalanobisDistance<>, arma::vec> b(100);
   b.Center().randu();
   b.Radius() = 14.0;
   b.Metric().Covariance().randu(100, 100);
 
-  BallBound<arma::vec, MahalanobisDistance<>> xmlB, textB, binaryB;
+  BallBound<MahalanobisDistance<>, arma::vec> xmlB, textB, binaryB;
 
   SerializeObjectAll(b, xmlB, textB, binaryB);
 




More information about the mlpack-git mailing list