fix: <ctime> is necessary for srand(time(NULL))

This commit is contained in:
Chen-Pang He
2011-08-24 18:26:38 +08:00
parent 8414be739b
commit 8ddd1e390b
2 changed files with 19 additions and 13 deletions

View File

@@ -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;