Browse code

fix variable name error

Jorn Hoofwijk authored on 02/08/2018 15:52:44
Showing 1 changed files
... ...
@@ -296,7 +296,7 @@ class LearnerND(BaseLearner):
296 296
             vertices = self.tri.get_vertices(simplex)
297 297
             self._subtriangulations[simplex] = Triangulation(vertices)
298 298
 
299
-        self._pending_to_simplex[p] = simplex
299
+        self._pending_to_simplex[point] = simplex
300 300
         return self._subtriangulations[simplex].add_point(point)
301 301
 
302 302
     def _update_subsimplex_losses(self, simplex, new_subsimplices):