aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/MPRealSupport
diff options
context:
space:
mode:
authorGravatar Chen-Pang He <jdh8@ms63.hinet.net>2011-08-24 18:26:38 +0800
committerGravatar Chen-Pang He <jdh8@ms63.hinet.net>2011-08-24 18:26:38 +0800
commit8ddd1e390b43b9d86c02fbdacdf7b70322eecfff (patch)
tree67866f37004cb9c2db1dd0e2f4ca5d4fe7a0559a /unsupported/Eigen/MPRealSupport
parent8414be739b78b2d750be03d41cb5017325f4ae49 (diff)
fix: <ctime> is necessary for srand(time(NULL))
Diffstat (limited to 'unsupported/Eigen/MPRealSupport')
-rw-r--r--unsupported/Eigen/MPRealSupport3
1 files changed, 2 insertions, 1 deletions
diff --git a/unsupported/Eigen/MPRealSupport b/unsupported/Eigen/MPRealSupport
index 30e8d66e4..8f6132946 100644
--- a/unsupported/Eigen/MPRealSupport
+++ b/unsupported/Eigen/MPRealSupport
@@ -30,6 +30,7 @@
#ifndef EIGEN_MPREALSUPPORT_MODULE_H
#define EIGEN_MPREALSUPPORT_MODULE_H
+#include <ctime>
#include <mpreal.h>
#include <Eigen/Core>
@@ -51,7 +52,7 @@ namespace Eigen {
*
\code
#include <iostream>
-#include <Eigen/Mpfrc++Support>
+#include <Eigen/MPRealSupport>
#include <Eigen/LU>
using namespace mpfr;
using namespace Eigen;