transpose not needed

release/4.3a0
Frank Dellaert 2009-12-18 05:14:34 +00:00
parent c9bd327961
commit 0194926dc2
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ namespace gtsam {
/** calculate the error of the factor */
double error(const Config& c) const {
Vector e = error_vector(c) / sigma_;
return 0.5 * inner_prod(trans(e),e);
return 0.5 * inner_prod(e,e);
};
/** get the size of the factor */