Merge pull request #331 from KLayout/issue-330

Fixed issue #330
This commit is contained in:
Matthias Köfferlein 2019-08-26 00:19:18 +02:00 committed by GitHub
commit c44fdf8c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {