Removed unused code
This commit is contained in:
parent
1716dd86db
commit
89bbe0f4b4
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user