forked from M-Labs/nalgebra
removed return statements
This commit is contained in:
parent
9f8cfa207a
commit
71ef287fea
@ -308,7 +308,7 @@ where
|
|||||||
res[i] = Complex::new(wr[i].clone(), wi[i].clone());
|
res[i] = Complex::new(wr[i].clone(), wi[i].clone());
|
||||||
}
|
}
|
||||||
|
|
||||||
return (res, Some(vl), Some(vr))
|
(res, Some(vl), Some(vr))
|
||||||
}
|
}
|
||||||
(true, false) => {
|
(true, false) => {
|
||||||
// TODO: avoid the initialization?
|
// TODO: avoid the initialization?
|
||||||
@ -338,7 +338,7 @@ where
|
|||||||
res[i] = Complex::new(wr[i].clone(), wi[i].clone());
|
res[i] = Complex::new(wr[i].clone(), wi[i].clone());
|
||||||
}
|
}
|
||||||
|
|
||||||
return (res, Some(vl), None)
|
(res, Some(vl), None)
|
||||||
}
|
}
|
||||||
(false, true) => {
|
(false, true) => {
|
||||||
// TODO: avoid the initialization?
|
// TODO: avoid the initialization?
|
||||||
@ -368,7 +368,7 @@ where
|
|||||||
res[i] = Complex::new(wr[i].clone(), wi[i].clone());
|
res[i] = Complex::new(wr[i].clone(), wi[i].clone());
|
||||||
}
|
}
|
||||||
|
|
||||||
return (res, None, Some(vr))
|
(res, None, Some(vr))
|
||||||
}
|
}
|
||||||
(false, false) => {
|
(false, false) => {
|
||||||
T::xgeev(
|
T::xgeev(
|
||||||
@ -395,7 +395,7 @@ where
|
|||||||
res[i] = Complex::new(wr[i].clone(), wi[i].clone());
|
res[i] = Complex::new(wr[i].clone(), wi[i].clone());
|
||||||
}
|
}
|
||||||
|
|
||||||
return (res, None, None)
|
(res, None, None)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user