From 5d1035f67baa0b972418575d6e53d81c9fc9c7d5 Mon Sep 17 00:00:00 2001 From: Alex Hagiopol Date: Tue, 12 Apr 2016 15:08:32 -0400 Subject: [PATCH] Placed headers inside of #ifdef. --- gtsam/base/Matrix.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtsam/base/Matrix.h b/gtsam/base/Matrix.h index 0c7a3f9bd..7b5ae7e52 100644 --- a/gtsam/base/Matrix.h +++ b/gtsam/base/Matrix.h @@ -23,11 +23,12 @@ #pragma once #include #include -#include // Configuration from CMake - +#ifdef GTSAM_ALLOW_DEPRECATED_SINCE_V4 +#include #include #include #include +#endif #include #include #include