Fixed issue #330

This commit is contained in:
Matthias Koefferlein 2019-08-21 00:38:57 +02:00
parent 6f2d29d05b
commit bceccd7ac0
1 changed files with 1 additions and 1 deletions

View File

@ -913,7 +913,7 @@ DXFReader::spline_interpolation (std::vector<db::DPoint> &points, int n, const s
std::list<db::DPoint> new_points;
new_points.push_back (points.front ());
double dt = 0.5 * (tn + t0);
double dt = 0.5 * (tn - t0);
for (double t = t0 + dt; t < tn + 1e-6; t += dt) {