Fixed dimension initialization bug

release/4.3a0
Alex Cunningham 2011-09-29 19:02:36 +00:00
parent 939787891a
commit 28b2584961
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ namespace gtsam {
* Sets the size of the mask with all values off * Sets the size of the mask with all values off
*/ */
PartialPriorFactor(const KEY& key, const SharedNoiseModel& model) PartialPriorFactor(const KEY& key, const SharedNoiseModel& model)
: Base(model, key), mask_(model->dim(), false) {} : Base(model, key), mask_(T::Dim(), false) {}
public: public: