Add a few comments

release/4.3a0
Sungtae An 2014-11-14 14:08:17 -05:00
parent 95adc49ac3
commit 2733b66a23
1 changed files with 2 additions and 0 deletions

View File

@ -125,7 +125,9 @@ void BlockJacobiPreconditioner::transposeSolve(const Vector& y, Vector& x) const
void BlockJacobiPreconditioner::build( void BlockJacobiPreconditioner::build(
const GaussianFactorGraph &gfg, const KeyInfo &keyInfo, const std::map<Key,Vector> &lambda) const GaussianFactorGraph &gfg, const KeyInfo &keyInfo, const std::map<Key,Vector> &lambda)
{ {
// n is the number of keys
const size_t n = keyInfo.size(); const size_t n = keyInfo.size();
// dims_ is a vector that contains the dimension of keys
dims_ = keyInfo.colSpec(); dims_ = keyInfo.colSpec();
/* prepare the buffer of block diagonals */ /* prepare the buffer of block diagonals */