From 89bbe0f4b45645c0af21c164d3b3171d46d59c39 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 8 Aug 2015 17:52:16 +0200 Subject: [PATCH] Removed unused code --- src/linalg/decompositions.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/linalg/decompositions.rs b/src/linalg/decompositions.rs index e56e8cc4..a67ef389 100644 --- a/src/linalg/decompositions.rs +++ b/src/linalg/decompositions.rs @@ -145,9 +145,6 @@ pub fn cholesky(m: &M) -> Result if i > j { out[(i, j)] = sum / out[(j, j)]; } - else if i < j { - out[(i,j)] = N::zero(); - } else if sum > N::zero() { out[(i,i)] = sum.sqrt(); }