From 9710d8c7a3307fd9477fb426ea1bab7804c6ef37 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Fri, 9 Nov 2012 16:39:12 +1100 Subject: A bunch of changes to make it build nicer In particular: - fix up the MCF sovler to get rid of all the warnings/errors - make the build with Wall and Werror and whatnot again --- impl/Complete.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'impl/Complete.hpp') diff --git a/impl/Complete.hpp b/impl/Complete.hpp index 664d71f..73c8f23 100644 --- a/impl/Complete.hpp +++ b/impl/Complete.hpp @@ -4,9 +4,15 @@ #include #include #include +#include template -T infinity() { } +T infinity(); + +template<> +double infinity() { + return std::numeric_limits::infinity(); +} template struct Complete { -- cgit v1.2.3