[cig-commits] commit: Add include guards to FTensor.hpp
Mercurial
hg at geodynamics.org
Sun Mar 11 03:46:23 PDT 2012
changeset: 10:c2aac0c27237
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Sun Mar 11 03:45:58 2012 -0700
files: FTensor.hpp
description:
Add include guards to FTensor.hpp
diff -r 184dc3738c80 -r c2aac0c27237 FTensor.hpp
--- a/FTensor.hpp Sat Mar 10 15:06:24 2012 -0800
+++ b/FTensor.hpp Sun Mar 11 03:45:58 2012 -0700
@@ -1,5 +1,8 @@
/* Include file for the Fast Tensor classes (FTensor). Everything is
in namespace FTensor. */
+
+#ifndef FTENSOR_HPP
+#define FTENSOR_HPP
#include <cmath>
#include <complex>
@@ -83,3 +86,5 @@ namespace FTensor {
#include "Tensor4_ddg.hpp"
#include "Tensor4_Riemann.hpp"
}
+
+#endif
More information about the CIG-COMMITS
mailing list