From 0450f60b4804a9aa05a328d43455cb74b46e4d65 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Thu, 8 Sep 2011 15:56:38 +0200 Subject: [PATCH] Include guards --- src/properscalarincreasingconvexfunction.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/properscalarincreasingconvexfunction.hh b/src/properscalarincreasingconvexfunction.hh index da30eb4b..d02ad941 100644 --- a/src/properscalarincreasingconvexfunction.hh +++ b/src/properscalarincreasingconvexfunction.hh @@ -1,3 +1,6 @@ +#ifndef PROPER_SCALAR_INCREASING_CONVEX_FUNCTION_HH +#define PROPER_SCALAR_INCREASING_CONVEX_FUNCTION_HH + class ProperScalarIncreasingConvexFunction { public: virtual double operator()(const double s) const = 0; @@ -22,3 +25,5 @@ class TrivialFunction : public ProperScalarIncreasingConvexFunction { double rightDifferential(const double) const { return 0; } }; + +#endif -- GitLab