revise according to Frank's suggestion
							parent
							
								
									fd07d61a2e
								
							
						
					
					
						commit
						2dd945fcd1
					
				|  | @ -19,7 +19,6 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <gtsam/linear/NoiseModel.h> | ||||
| #include <gtsam/linear/SharedNoiseModel.h> | ||||
| 
 | ||||
| namespace gtsam { // note, deliberately not in noiseModel namespace
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -12,6 +12,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <gtsam/linear/NoiseModel.h> | ||||
| #include <gtsam/linear/SharedGaussian.h> | ||||
| 
 | ||||
| namespace gtsam { // note, deliberately not in noiseModel namespace
 | ||||
| 
 | ||||
|  | @ -20,6 +21,7 @@ namespace gtsam { // note, deliberately not in noiseModel namespace | |||
|     typedef noiseModel::Base::shared_ptr Base; | ||||
| 
 | ||||
|     SharedNoiseModel() {} | ||||
|     SharedNoiseModel(const SharedGaussian &p): Base(p) {} | ||||
|     SharedNoiseModel(const noiseModel::Robust::shared_ptr& p): Base(p) {} | ||||
|     SharedNoiseModel(const noiseModel::Gaussian::shared_ptr& p): Base(p) {} | ||||
|     SharedNoiseModel(const noiseModel::Diagonal::shared_ptr& p): Base(p) {} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue