Removed unused code

This commit is contained in:
Daniel 2015-08-08 17:52:16 +02:00
parent 1716dd86db
commit 89bbe0f4b4

View File

@ -145,9 +145,6 @@ pub fn cholesky<N, V, VS, M>(m: &M) -> Result<M, &'static str>
if i > j { if i > j {
out[(i, j)] = sum / out[(j, j)]; out[(i, j)] = sum / out[(j, j)];
} }
else if i < j {
out[(i,j)] = N::zero();
}
else if sum > N::zero() { else if sum > N::zero() {
out[(i,i)] = sum.sqrt(); out[(i,i)] = sum.sqrt();
} }