~ubuntu-branches/ubuntu/utopic/blender/utopic-proposed

« back to all changes in this revision

Viewing changes to extern/libmv/third_party/ceres/internal/ceres/implicit_schur_complement.cc

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
ImplicitSchurComplement::~ImplicitSchurComplement() {
56
56
}
57
57
 
58
 
void ImplicitSchurComplement::Init(const BlockSparseMatrixBase& A,
 
58
void ImplicitSchurComplement::Init(const BlockSparseMatrix& A,
59
59
                                   const double* D,
60
60
                                   const double* b) {
61
61
  // Since initialization is reasonably heavy, perhaps we can save on
161
161
 
162
162
    m = m
163
163
        .selfadjointView<Eigen::Upper>()
164
 
        .ldlt()
 
164
        .llt()
165
165
        .solve(Matrix::Identity(row_block_size, row_block_size));
166
166
  }
167
167
}