Avoid malloc in common case?

release/4.3a0
dellaert 2014-03-01 19:24:51 -05:00
parent fd376a5247
commit 98ae00f1ef
1 changed files with 1 additions and 1 deletions

View File

@ -101,8 +101,8 @@ namespace gtsam {
if (H2) *H2 = zeros(2, point.dim());
std::cout << e.what() << ": Landmark "<< DefaultKeyFormatter(this->key2())
<< " behind Camera " << DefaultKeyFormatter(this->key1()) << std::endl;
return zero(2);
}
return zero(2);
}
/** return the measured */