add Testable traits to DiscreteBayesTree and HybridBayesTree
							parent
							
								
									299e5fd42e
								
							
						
					
					
						commit
						8255ad596c
					
				|  | @ -110,4 +110,12 @@ class GTSAM_EXPORT DiscreteBayesTree | |||
|   /// @}
 | ||||
| }; | ||||
| 
 | ||||
| /// traits
 | ||||
| template <> | ||||
| struct traits<DiscreteBayesTreeClique> | ||||
|     : public Testable<DiscreteBayesTreeClique> {}; | ||||
| 
 | ||||
| template <> | ||||
| struct traits<DiscreteBayesTree> : public Testable<DiscreteBayesTree> {}; | ||||
| 
 | ||||
| }  // namespace gtsam
 | ||||
|  |  | |||
|  | @ -123,6 +123,10 @@ class GTSAM_EXPORT HybridBayesTree : public BayesTree<HybridBayesTreeClique> { | |||
| }; | ||||
| 
 | ||||
| /// traits
 | ||||
| template <> | ||||
| struct traits<HybridBayesTreeClique> : public Testable<HybridBayesTreeClique> { | ||||
| }; | ||||
| 
 | ||||
| template <> | ||||
| struct traits<HybridBayesTree> : public Testable<HybridBayesTree> {}; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue