fixed compiler error for gcc 4.2 on Mac OS

release/4.3a0
Chris Beall 2012-06-25 16:12:32 +00:00
parent 26dcb4a992
commit aae88032ea
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ namespace gtsam {
*/
/** saves the Tree to a text file in GraphViz format */
void saveGraph(const std::string& s, const IndexFormatter& indexFormatter = &boost::lexical_cast<std::string, Index>) const;
void saveGraph(const std::string& s, const IndexFormatter& indexFormatter = &(boost::lexical_cast<std::string, Index>) ) const;
/// @}
/// @name Advanced Interface