Added default noise model argument in two crucial factors.

release/4.3a0
Frank Dellaert 2019-03-25 23:01:05 -04:00
parent 5a0ef2caac
commit 1365a04b09
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ namespace gtsam {
/** Constructor */
BetweenFactor(Key key1, Key key2, const VALUE& measured,
const SharedNoiseModel& model) :
const SharedNoiseModel& model = nullptr) :
Base(model, key1, key2), measured_(measured) {
}

View File

@ -53,7 +53,7 @@ namespace gtsam {
virtual ~PriorFactor() {}
/** Constructor */
PriorFactor(Key key, const VALUE& prior, const SharedNoiseModel& model) :
PriorFactor(Key key, const VALUE& prior, const SharedNoiseModel& model = nullptr) :
Base(model, key), prior_(prior) {
}