Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 34192a40 authored by EXT José Ignacio Requeno Jarabo's avatar EXT José Ignacio Requeno Jarabo
Browse files

Bugfix in Rectangle

parent cb408dae
Pipeline #29296 failed with stages
in 2 minutes and 35 seconds
......@@ -295,7 +295,7 @@ class Rectangle(object):
def _volume(self):
# type: (Rectangle) -> float
diagonal_length = self.diag_length()
diagonal_length = self.diag_vector()
_prod = red(lambda si, sj: si * sj, diagonal_length)
return abs(_prod)
......
......@@ -200,7 +200,7 @@ class ResultSet(object):
self.ylow = [li for li in self.ylow if li.diag_vector() != 0.0]
self.yup = [li for li in self.yup if li.diag_vector() != 0.0]
# Single points may appear in the boundary, so we don't remove them
# self.border = [li for li in self.border if li.diag_length() != 0]
# self.border = [li for li in self.border if li.diag_vector() != 0]
extended_ylow = [Rectangle(self.xspace.min_corner, r.max_corner) for r in self.ylow]
extended_yup = [Rectangle(r.min_corner, self.xspace.max_corner) for r in self.yup]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment