diff --git a/README.rst b/README.rst index 71867f5..b0ad6b5 100644 --- a/README.rst +++ b/README.rst @@ -585,9 +585,8 @@ curve `__ for a few paths. of the 'parallel' offset curve.""" nls = [] for seg in path: - ct = 1 for k in range(steps): - t = k / steps + t = k / float(steps) offset_vector = offset_distance * seg.normal(t) nl = Line(seg.point(t), seg.point(t) + offset_vector) nls.append(nl)