Merged in fix/default_model (pull request #402)

Added default noise model argument in two crucial factors.

Approved-by: Chris Beall <chrisbeall@gmail.com>
release/4.3a0
Frank Dellaert 2019-03-26 05:09:04 +00:00 committed by Chris Beall
commit 5bad14cbd2
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) {
}