change unweightedwhiten back

release/4.3a0
yetongumich 2020-04-05 19:00:09 -04:00
parent 99761a1a71
commit 646a4b7f0f
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ namespace gtsam {
virtual void WhitenSystem(Matrix& A1, Matrix& A2, Matrix& A3, Vector& b) const;
virtual Vector unweightedWhiten(const Vector& v) const {
return noise_->whiten(v);
return noise_->unweightedWhiten(v);
}
virtual double weight(const Vector& v) const {
// Todo(mikebosse): make the robust weight function input a vector.