Merge pull request #996 from borglab/fix/example_issues
						commit
						2f7ebb4d0c
					
				|  | @ -50,8 +50,7 @@ int main(int argc, char** argv) { | ||||||
| 
 | 
 | ||||||
|   // Print the UGM distribution
 |   // Print the UGM distribution
 | ||||||
|   cout << "\nUGM distribution:" << endl; |   cout << "\nUGM distribution:" << endl; | ||||||
|   vector<DiscreteFactor::Values> allPosbValues = cartesianProduct( |   auto allPosbValues = cartesianProduct(Cathy & Heather & Mark & Allison); | ||||||
|       Cathy & Heather & Mark & Allison); |  | ||||||
|   for (size_t i = 0; i < allPosbValues.size(); ++i) { |   for (size_t i = 0; i < allPosbValues.size(); ++i) { | ||||||
|     DiscreteFactor::Values values = allPosbValues[i]; |     DiscreteFactor::Values values = allPosbValues[i]; | ||||||
|     double prodPot = graph(values); |     double prodPot = graph(values); | ||||||
|  |  | ||||||
|  | @ -269,10 +269,10 @@ namespace gtsam { | ||||||
|       dot(os, values, keyFormatter, graphvizFormatting); |       dot(os, values, keyFormatter, graphvizFormatting); | ||||||
|     } |     } | ||||||
|     /** \deprecated */ |     /** \deprecated */ | ||||||
|     void GTSAM_DEPRECATED saveGraph( |     void GTSAM_DEPRECATED | ||||||
|         const std::string& filename, const Values& values, |     saveGraph(const std::string& filename, const Values& values, | ||||||
|         const GraphvizFormatting& graphvizFormatting = GraphvizFormatting(), |               const GraphvizFormatting& graphvizFormatting, | ||||||
|         const KeyFormatter& keyFormatter = DefaultKeyFormatter) const { |               const KeyFormatter& keyFormatter = DefaultKeyFormatter) const { | ||||||
|       saveGraph(filename, values, keyFormatter, graphvizFormatting); |       saveGraph(filename, values, keyFormatter, graphvizFormatting); | ||||||
|     } |     } | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue