mirror of https://github.com/CGAL/cgal
Port to g++ 4.3.1
This commit is contained in:
parent
cb2fe127ab
commit
5010e4b58a
|
|
@ -319,12 +319,12 @@ int main(int argc, char * argv[])
|
|||
{
|
||||
std::cerr << "Compare with original normals..." << std::endl;
|
||||
|
||||
PointList::iterator p;
|
||||
/*std::deque<Orientable_normal>::iterator*/ n;
|
||||
double min_normal_deviation = DBL_MAX;
|
||||
double max_normal_deviation = DBL_MIN;
|
||||
double avg_normal_deviation = 0;
|
||||
int flipped_normals = 0;
|
||||
PointList::iterator p;
|
||||
//std::deque<Orientable_normal>::iterator n;
|
||||
for (p = pwns.begin(), n = computed_normals.begin(); p != pwns.end(); p++, n++)
|
||||
{
|
||||
Vector v1 = p->normal(); // input normal
|
||||
|
|
@ -367,7 +367,7 @@ int main(int argc, char * argv[])
|
|||
|
||||
// Replace old normals by new ones
|
||||
PointList::iterator p;
|
||||
/*std::deque<Orientable_normal>::iterator*/ n;
|
||||
//std::deque<Orientable_normal>::iterator n;
|
||||
for (p = pwns.begin(), n = computed_normals.begin(); p != pwns.end(); p++, n++)
|
||||
p->normal() = *n;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
#ifndef CGAL_SURFACE_RECONSTRUCTION_OUTPUT_H
|
||||
#define CGAL_SURFACE_RECONSTRUCTION_OUTPUT_H
|
||||
|
||||
#include <CGAL/value_type_traits.h>
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -59,10 +59,10 @@ public:
|
|||
Taucs_solver(unsigned int size, ///< Number of rows = number of columns
|
||||
unsigned int nb_elements_per_line=0) ///< Number of non null elements per line
|
||||
///< (ignored if 0).
|
||||
: n_rows(size),
|
||||
PAP(0),
|
||||
: PAP(0),
|
||||
L(0),
|
||||
SL(0),
|
||||
n_rows(size),
|
||||
row_index(0),
|
||||
perm(0),
|
||||
invperm(0),
|
||||
|
|
|
|||
Loading…
Reference in New Issue