prefix global functions with ei_ as previous solution was rather

fragile. also fix compilation with g++ 4.3.
This commit is contained in:
Benoit Jacob
2008-02-28 12:38:12 +00:00
parent c67e717404
commit 6907886a15
20 changed files with 177 additions and 174 deletions

View File

@@ -1,8 +1,9 @@
// g++ -O3 -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark
#include <cstdlib>
#include <cmath>
#include <Eigen/Core>
using namespace std;
//using namespace std;
USING_PART_OF_NAMESPACE_EIGEN
int main(int argc, char *argv[])
@@ -18,6 +19,6 @@ int main(int argc, char *argv[])
{
m = I + 0.00005 * (m + m*m);
}
cout << m << endl;
std::cout << m << std::endl;
return 0;
}