diff options
Diffstat (limited to 'converter/other/pamtosvg/fit.c')
-rw-r--r-- | converter/other/pamtosvg/fit.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/converter/other/pamtosvg/fit.c b/converter/other/pamtosvg/fit.c index f8a23ffb..9c6f20d4 100644 --- a/converter/other/pamtosvg/fit.c +++ b/converter/other/pamtosvg/fit.c @@ -87,6 +87,7 @@ intCoordFmReal(Point const realCoord) { } + /* Lists of array indices (well, that is what we use it for). */ static IndexList @@ -1283,7 +1284,8 @@ computeCX(Curve * const curveP, unsigned int pointSeq; - cP->beg.beg = 0.0; cP->beg.end = 0.0; cP->end.beg = 0.0; cP->end.end = 0.0;/* initial value */ + cP->beg.beg = 0.0; cP->beg.end = 0.0; cP->end.beg = 0.0; cP->end.end = 0.0; + /* initial value */ xP->beg = 0.0; xP->end = 0.0; /* initial value */ @@ -1799,8 +1801,8 @@ divideAndFit(Curve * const curveP, static spline_list_type * fitWithLeastSquares(Curve * const curveP, - Vector const begSlope, - Vector const endSlope, + Vector const begSlope, + Vector const endSlope, const fitting_opts_type * const fittingOptsP, at_exception_type * const exceptionP) { /*---------------------------------------------------------------------------- |