Fix Pattern.get_bounds()

This commit is contained in:
Jan Petykiewicz 2019-06-09 23:57:36 -07:00
parent e057f6e4a2
commit e5f28a7a92

View File

@ -393,7 +393,7 @@ class Pattern:
return None return None
min_bounds = numpy.array((+inf, +inf)) min_bounds = numpy.array((+inf, +inf))
max_bounds = numpy.array((+inf, +inf)) max_bounds = numpy.array((-inf, -inf))
for entry in entries: for entry in entries:
bounds = entry.get_bounds() bounds = entry.get_bounds()
if bounds is None: if bounds is None: