Remove useless header + compilation fix

This commit is contained in:
Clement Jamin 2014-09-11 09:54:57 +02:00
parent 43ad543143
commit ea61acdb4c
1 changed files with 2 additions and 4 deletions

View File

@ -13,8 +13,6 @@
#include <fstream>
#include <math.h>
#include <boost/random/random_number_generator.hpp>
#ifdef CGAL_LINKED_WITH_TBB
# include <tbb/task_scheduler_init.h>
#endif
@ -40,7 +38,7 @@ std::vector<Point> generate_points_on_sphere(double radius)
template <typename Point>
std::vector<Point> generate_points_on_klein_bottle(double a, double b)
{
typedef CGAL::Kernel_traits<Point>::type Kernel;
typedef typename CGAL::Kernel_traits<Point>::type Kernel;
typedef typename Kernel::FT FT;
CGAL::Random rng;
@ -88,7 +86,7 @@ int main()
tc.compute_tangential_complex();
std::stringstream output_filename;
output_filename << "data/test_tc_" << INTRINSIC_DIMENSION <<
output_filename << "data/test_tc_" << INTRINSIC_DIMENSION
<< "_in_R" << AMBIENT_DIMENSION << ".off";
std::ofstream off_stream(output_filename.str());
tc.export_to_off(off_stream);