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 d1403719 authored by EXT José Ignacio Requeno Jarabo's avatar EXT José Ignacio Requeno Jarabo
Browse files

Bug fixing

parent aae78a8a
Pipeline #29400 passed with stages
in 36 minutes and 6 seconds
......@@ -52,7 +52,7 @@ test:
- Xvfb :99 -screen 0 1280x720x24 -ac &
- export DISPLAY=:99
## Downloading requirements
- apt-get -y install openjdk-11-jre
- apt-get -y install openjdk-8-jre
- apt-get -y install python-pip
- apt-get -y install python-tk
- apt-get -y install python-pytest
......
......@@ -24,7 +24,7 @@ import io
import pickle
from ParetoLib.Geometry.Rectangle import Rectangle
from ParetoLib.Geometry.Point import less, less_equal, distance, dim #, r
from ParetoLib.Geometry.Point import less, less_equal, distance, dim
import ParetoLib.Oracle as RootOracle
......@@ -66,7 +66,6 @@ class NDTree:
>>> x in nd
>>> True
"""
#p = tuple(r(pi) for pi in p)
return self.root.has_point_rec(p) if not self.is_empty() else False
# return item in self.root
......@@ -224,7 +223,6 @@ class NDTree:
>>> nd = NDTree()
>>> nd.update_point(x)
"""
#p = tuple(r(pi) for pi in p)
n = self.root
if n is None:
n = Node(max_points=self.max_points, min_children=self.min_children)
......@@ -254,7 +252,6 @@ class NDTree:
>>> nd.dominates(y)
>>> True
"""
#p = tuple(r(pi) for pi in p)
return self.root.dominates(p)
# Read/Write file functions
......
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