Fixed bug in ExpressionFactor::linearize() when using robust noise models
							parent
							
								
									ab914e1cae
								
							
						
					
					
						commit
						8692c74765
					
				|  | @ -101,8 +101,8 @@ public: | |||
|     Ab(size()).col(0) = -traits<T>::Local(measurement_, value); | ||||
| 
 | ||||
|     // Whiten the corresponding system, Ab already contains RHS
 | ||||
|     Vector dummy(Dim); | ||||
|     noiseModel_->WhitenSystem(Ab.matrix(), dummy); | ||||
|     Vector b = Ab(size()).col(0); // need b to be valid for Robust noise models
 | ||||
|     noiseModel_->WhitenSystem(Ab.matrix(), b); | ||||
| 
 | ||||
|     return factor; | ||||
|   } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue