From 71ef287fead3449a9914020b016b0207dc68d039 Mon Sep 17 00:00:00 2001 From: Marc Haubenstock Date: Mon, 2 May 2022 22:49:07 +0200 Subject: [PATCH] removed return statements --- nalgebra-lapack/src/eigen.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nalgebra-lapack/src/eigen.rs b/nalgebra-lapack/src/eigen.rs index 594cb080..6c63ee33 100644 --- a/nalgebra-lapack/src/eigen.rs +++ b/nalgebra-lapack/src/eigen.rs @@ -308,7 +308,7 @@ where res[i] = Complex::new(wr[i].clone(), wi[i].clone()); } - return (res, Some(vl), Some(vr)) + (res, Some(vl), Some(vr)) } (true, false) => { // TODO: avoid the initialization? @@ -338,7 +338,7 @@ where res[i] = Complex::new(wr[i].clone(), wi[i].clone()); } - return (res, Some(vl), None) + (res, Some(vl), None) } (false, true) => { // TODO: avoid the initialization? @@ -368,7 +368,7 @@ where res[i] = Complex::new(wr[i].clone(), wi[i].clone()); } - return (res, None, Some(vr)) + (res, None, Some(vr)) } (false, false) => { T::xgeev( @@ -395,7 +395,7 @@ where res[i] = Complex::new(wr[i].clone(), wi[i].clone()); } - return (res, None, None) + (res, None, None) } }