fix typo `joins_smoothl_with`

pull/40/merge
Andy Port 2018-04-13 14:34:28 -07:00 committed by GitHub
parent 29a49197a7
commit 71b4403375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2060,7 +2060,7 @@ class Path(MutableSequence):
if np.isclose(t, 0) and (seg_idx != 0 or self.end==self.start): if np.isclose(t, 0) and (seg_idx != 0 or self.end==self.start):
previous_seg_in_path = self._segments[ previous_seg_in_path = self._segments[
(seg_idx - 1) % len(self._segments)] (seg_idx - 1) % len(self._segments)]
if not seg.joins_smoothl_with(previous_seg_in_path): if not seg.joins_smoothly_with(previous_seg_in_path):
return float('inf') return float('inf')
elif np.isclose(t, 1) and (seg_idx != len(self) - 1 or self.end==self.start): elif np.isclose(t, 1) and (seg_idx != len(self) - 1 or self.end==self.start):
next_seg_in_path = self._segments[ next_seg_in_path = self._segments[