Fixed dimension initialization bug
parent
939787891a
commit
28b2584961
|
|
@ -61,7 +61,7 @@ namespace gtsam {
|
|||
* Sets the size of the mask with all values off
|
||||
*/
|
||||
PartialPriorFactor(const KEY& key, const SharedNoiseModel& model)
|
||||
: Base(model, key), mask_(model->dim(), false) {}
|
||||
: Base(model, key), mask_(T::Dim(), false) {}
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue