From 3ccd9befa9193fb87ad155a9fc4f3539039c0d41 Mon Sep 17 00:00:00 2001 From: kartikdutt18 Date: Fri, 1 May 2020 16:57:26 +0530 Subject: [PATCH] Remove warning in LARS --- src/mlpack/methods/lars/lars.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mlpack/methods/lars/lars.cpp b/src/mlpack/methods/lars/lars.cpp index b28243959d..8e9bff983e 100644 --- a/src/mlpack/methods/lars/lars.cpp +++ b/src/mlpack/methods/lars/lars.cpp @@ -77,8 +77,8 @@ LARS::LARS(const LARS& other) : useCholesky(other.useCholesky), lasso(other.lasso), lambda1(other.lambda1), - lambda2(other.lambda2), elasticNet(other.elasticNet), + lambda2(other.lambda2), tolerance(other.tolerance), betaPath(other.betaPath), lambdaPath(other.lambdaPath), @@ -99,8 +99,8 @@ LARS::LARS(LARS&& other) : useCholesky(other.useCholesky), lasso(other.lasso), lambda1(other.lambda1), - lambda2(other.lambda2), elasticNet(other.elasticNet), + lambda2(other.lambda2), tolerance(other.tolerance), betaPath(std::move(other.betaPath)), lambdaPath(std::move(other.lambdaPath)), @@ -125,8 +125,8 @@ LARS& LARS::operator=(const LARS& other) useCholesky = other.useCholesky; lasso = other.lasso; lambda1 = other.lambda1; - lambda2 = other.lambda2; elasticNet = other.elasticNet; + lambda2 = other.lambda2; tolerance = other.tolerance; betaPath = other.betaPath; lambdaPath = other.lambdaPath; @@ -150,8 +150,8 @@ LARS& LARS::operator=(LARS&& other) useCholesky = other.useCholesky; lasso = other.lasso; lambda1 = other.lambda1; - lambda2 = other.lambda2; elasticNet = other.elasticNet; + lambda2 = other.lambda2; tolerance = other.tolerance; betaPath = std::move(other.betaPath); lambdaPath = std::move(other.lambdaPath);