diff --git a/Number_types/include/CGAL/Gmpz.h b/Number_types/include/CGAL/Gmpz.h index c646998c852..3d5fc768357 100644 --- a/Number_types/include/CGAL/Gmpz.h +++ b/Number_types/include/CGAL/Gmpz.h @@ -183,6 +183,16 @@ public: }; }; +// +// Needs_parens_as_product +// +template <> +struct Needs_parens_as_product { + bool operator()(const Gmpz& x) { + return CGAL_NTS is_negative(x); + } +}; + CGAL_END_NAMESPACE #if defined(BOOST_MSVC)