[mlpack] 02/11: Fix -Wreorder.

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Aug 31 13:19:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit d301b34bd9dc81d22dc94b1b4af920f0e892b06b
Author: Ryan Curtin <ryan at ratml.org>
Date:   Sun Aug 6 21:37:01 2017 -0400

    Fix -Wreorder.
---
 .../core/optimizers/aug_lagrangian/aug_lagrangian_function_impl.hpp   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_function_impl.hpp b/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_function_impl.hpp
index 09ea330..98105bd 100644
--- a/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_function_impl.hpp
+++ b/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_function_impl.hpp
@@ -38,9 +38,9 @@ AugLagrangianFunction<LagrangianFunction>::AugLagrangianFunction(
     LagrangianFunction& function,
     const arma::vec& lambda,
     const double sigma) :
+    function(function),
     lambda(lambda),
-    sigma(sigma),
-    function(function)
+    sigma(sigma)
 {
   // Nothing else to do.
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list