Fixed bug in calculateEstimate() function when provideing a key. Function did not get migrated to the new Values structure
							parent
							
								
									c48a9431a0
								
							
						
					
					
						commit
						66c771b56c
					
				| 
						 | 
				
			
			@ -593,11 +593,11 @@ Values ISAM2<CONDITIONAL, GRAPH>::calculateEstimate() const {
 | 
			
		|||
 | 
			
		||||
/* ************************************************************************* */
 | 
			
		||||
template<class CONDITIONAL, class GRAPH>
 | 
			
		||||
template<class KEY>
 | 
			
		||||
typename KEY::Value ISAM2<CONDITIONAL, GRAPH>::calculateEstimate(const KEY& key) const {
 | 
			
		||||
template<class VALUE>
 | 
			
		||||
VALUE ISAM2<CONDITIONAL, GRAPH>::calculateEstimate(Key key) const {
 | 
			
		||||
  const Index index = getOrdering()[key];
 | 
			
		||||
  const SubVector delta = getDelta()[index];
 | 
			
		||||
  return getLinearizationPoint()[key].retract(delta);
 | 
			
		||||
  return theta_.at<VALUE>(key).retract(delta);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* ************************************************************************* */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -390,8 +390,8 @@ public:
 | 
			
		|||
   * @param key
 | 
			
		||||
   * @return
 | 
			
		||||
   */
 | 
			
		||||
  template<class KEY>
 | 
			
		||||
  typename KEY::Value calculateEstimate(const KEY& key) const;
 | 
			
		||||
  template<class VALUE>
 | 
			
		||||
  VALUE calculateEstimate(Key key) const;
 | 
			
		||||
 | 
			
		||||
  /// @name Public members for non-typical usage
 | 
			
		||||
  //@{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue