diff --git a/gtsam/base/GenericValue.h b/gtsam/base/GenericValue.h index 1c01f7bb7..6c109675d 100644 --- a/gtsam/base/GenericValue.h +++ b/gtsam/base/GenericValue.h @@ -70,9 +70,9 @@ struct print { }; // equals for Matrix types -template -struct equals > { - typedef Eigen::Matrix type; +template +struct equals > { + typedef Eigen::Matrix type; typedef bool result_type; bool operator()(const type& A, const type& B, double tol) { return equal_with_abs_tol(A, B, tol); @@ -80,9 +80,9 @@ struct equals > { }; // print for Matrix types -template -struct print > { - typedef Eigen::Matrix type; +template +struct print > { + typedef Eigen::Matrix type; typedef void result_type; void operator()(const type& A, const std::string& str) { std::cout << str << ": " << A << std::endl;