Skip to content

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossam Rabbouh authored and Hossam Rabbouh committed Jan 20, 2025
1 parent 417e7ef commit c46f812
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/linear/sparse_cholesky.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl SparseLinearSolver for SparseCholeskySolver {
if let Ok(cholesky) =
solvers::Cholesky::try_new_with_symbolic(sym.clone(), jtj.as_ref(), faer::Side::Lower)
{
let dx = cholesky.solve(jtr.as_ref());
let dx = cholesky.solve(jtr);

Some(dx)
} else {
Expand Down
1 change: 0 additions & 1 deletion src/residual_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ impl ResidualBlock {

// tangent size
let residual_with_jacobian = self.factor.residual_func_dual(&params_plus_tangent_dual);
// log::debug!("Duration of residual_func_dual: {:?} secs", (start.elapsed()).as_millis());
let mut residual = residual_with_jacobian.map(|x| x.re);
let jacobian = residual_with_jacobian
.map(|x| x.eps.unwrap_generic(na::Dyn(dim_variable), na::Const::<1>));
Expand Down

0 comments on commit c46f812

Please sign in to comment.