mirror of https://github.com/CGAL/cgal
Init the doubles to avoid a warning
This commit is contained in:
parent
3eefc5008c
commit
64644c8c49
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include <CGAL/Profile_counter.h>
|
||||
#include <CGAL/internal/Static_filters/Static_filter_error.h>
|
||||
#include <CGAL/internal/Static_filters/tools.h>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
|
|
@ -62,6 +63,9 @@ namespace CGAL { namespace internal { namespace Static_filters_predicates {
|
|||
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Compare_weighted_squared_radius_3 with 4 wpoints", tmp);
|
||||
|
||||
double px, py, pz, pw, qx, qy, qz, qw, rx, ry, rz, rw, sx, sy, sz, sw, alpha;
|
||||
init_double(px, py, pz, pw, qx, qy, qz, qw, (FT*)(0));
|
||||
init_double(rx, ry, rz, rw, sx, sy, sz, sw, alpha, (FT*)(0));
|
||||
|
||||
if( fit_in_double(p.x(), px) && fit_in_double(p.y(), py) &&
|
||||
fit_in_double(p.z(), pz) && fit_in_double(p.weight(), pw) &&
|
||||
fit_in_double(q.x(), qx) && fit_in_double(q.y(), qy) &&
|
||||
|
|
@ -199,6 +203,7 @@ namespace CGAL { namespace internal { namespace Static_filters_predicates {
|
|||
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Compare_weighted_squared_radius_3 with 3 wpoints", tmp);
|
||||
|
||||
double px, py, pz, pw, qx, qy, qz, qw, rx, ry, rz, rw, alpha;
|
||||
init_double(px, py, pz, pw, qx, qy, qz, qw, rx, ry, rz, rw, alpha, (FT*)(0));
|
||||
if( fit_in_double(p.x(), px) && fit_in_double(p.y(), py) &&
|
||||
fit_in_double(p.z(), pz) && fit_in_double(p.weight(), pw) &&
|
||||
fit_in_double(q.x(), qx) && fit_in_double(q.y(), qy) &&
|
||||
|
|
@ -314,6 +319,7 @@ namespace CGAL { namespace internal { namespace Static_filters_predicates {
|
|||
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Compare_weighted_squared_radius_3 with 2 wpoints", tmp);
|
||||
|
||||
double px, py, pz, pw, qx, qy, qz, qw, alpha;
|
||||
init_double(px, py, pz, pw, qx, qy, qz, qw, alpha, (FT*)(0));
|
||||
if( fit_in_double(p.x(), px) && fit_in_double(p.y(), py) &&
|
||||
fit_in_double(p.z(), pz) && fit_in_double(p.weight(), pw) &&
|
||||
fit_in_double(q.x(), qx) && fit_in_double(q.y(), qy) &&
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include <CGAL/Profile_counter.h>
|
||||
#include <CGAL/internal/Static_filters/Static_filter_error.h>
|
||||
#include <CGAL/internal/Static_filters/tools.h>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
|
|
@ -132,6 +133,8 @@ namespace CGAL { namespace internal { namespace Static_filters_predicates {
|
|||
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Power_test_3 with 4+1 wpoints", tmp);
|
||||
|
||||
double px, py, pz, pwt, qx, qy, qz, qwt, rx, ry, rz, rwt, sx, sy, sz, swt, tx, ty, tz, twt;
|
||||
init_double(px, py, pz, pwt, qx, qy, qz, qwt, rx, ry, rz, rwt, (FT*)(0));
|
||||
init_double(sx, sy, sz, swt, tx, ty, tz, twt, (FT*)(0));
|
||||
if( fit_in_double(p.x(), px) && fit_in_double(p.y(), py) &&
|
||||
fit_in_double(p.z(), pz) && fit_in_double(p.weight(), pwt) &&
|
||||
fit_in_double(q.x(), qx) && fit_in_double(q.y(), qy) &&
|
||||
|
|
@ -276,6 +279,8 @@ namespace CGAL { namespace internal { namespace Static_filters_predicates {
|
|||
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Power_test_3 with 3+1 wpoints", tmp);
|
||||
|
||||
double px, py, pz, pwt, qx, qy, qz, qwt, rx, ry, rz, rwt, tx, ty, tz, twt;
|
||||
init_double(px, py, pz, pwt, qx, qy, qz, qwt, (FT*)(0));
|
||||
init_double( rx, ry, rz, rwt, tx, ty, tz, twt, (FT*)(0));
|
||||
if( fit_in_double(p.x(), px) && fit_in_double(p.y(), py) &&
|
||||
fit_in_double(p.z(), pz) && fit_in_double(p.weight(), pwt) &&
|
||||
fit_in_double(q.x(), qx) && fit_in_double(q.y(), qy) &&
|
||||
|
|
@ -607,6 +612,7 @@ namespace CGAL { namespace internal { namespace Static_filters_predicates {
|
|||
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Power_test_3 with 2+1 wpoints", tmp);
|
||||
|
||||
double px, py, pz, pwt, qx, qy, qz, qwt, tx, ty, tz, twt;
|
||||
init_double(px, py, pz, pwt, qx, qy, qz, qwt, tx, ty, tz, twt, (FT*)(0));
|
||||
if( fit_in_double(p.x(), px) && fit_in_double(p.y(), py) &&
|
||||
fit_in_double(p.z(), pz) && fit_in_double(p.weight(), pwt) &&
|
||||
fit_in_double(q.x(), qx) && fit_in_double(q.y(), qy) &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue