Changes between Version 1 and Version 2 of Ticket #28866, comment 12


Ignore:
Timestamp:
03/05/20 21:28:19 (19 months ago)
Author:
slabbe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28866, comment 12

    v1 v2  
    22> Once both #29198 and #29200 are done, this should be fine.
    33
    4 I tested with both #29198 and #29200. The line `P = 1/10*polytopes.hypercube(14)` now seems ok.
     4I tested with both #29198 and #29200. I now get a different error message (Memory error):
    55
    6 But my computer still fails testing that file later on possibly around line 9198... Strange...
     6{{{
     7Doctesting 1 file.
     8sage -t --long src/sage/geometry/polyhedron/base.py
     9**********************************************************************
     10File "src/sage/geometry/polyhedron/base.py", line 7948, in sage.geometry.polyhedron.base.Polyhedron_base.integral_points
     11Failed example:
     12    P = 1/10*polytopes.hypercube(14)  # long time
     13Exception raised:
     14    Traceback (most recent call last):
     15      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
     16        self.compile_and_execute(example, compiler, test.globs)
     17      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
     18        exec(compiled, globs)
     19      File "<doctest sage.geometry.polyhedron.base.Polyhedron_base.integral_points[12]>", line 1, in <module>
     20        P = Integer(1)/Integer(10)*polytopes.hypercube(Integer(14))  # long time
     21      File "sage/rings/rational.pyx", line 2414, in sage.rings.rational.Rational.__mul__ (build/cythonized/sage/rings/rational.c:20776)
     22        return coercion_model.bin_op(left, right, operator.mul)
     23      File "sage/structure/coerce.pyx", line 1201, in sage.structure.coerce.CoercionModel.bin_op (build/cythonized/sage/structure/coerce.c:10056)
     24        return (<Action>action)._act_(x, y)
     25      File "sage/categories/action.pyx", line 438, in sage.categories.action.PrecomposedAction._act_ (build/cythonized/sage/categories/action.c:6958)
     26        return self._action._act_(g, x)
     27      File "sage/structure/coerce_actions.pyx", line 153, in sage.structure.coerce_actions.ActedUponAction._act_ (build/cythonized/sage/structure/coerce_actions.c:4479)
     28        return (<Element>x)._acted_upon_(g, not self._is_left)
     29      File "sage/structure/element.pyx", line 927, in sage.structure.element.Element._acted_upon_ (build/cythonized/sage/structure/element.c:8608)
     30        cpdef _acted_upon_(self, x, bint self_on_left):
     31      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/geometry/polyhedron/base.py", line 4616, in _acted_upon_
     32        return self.dilation(actor)
     33      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/geometry/polyhedron/base.py", line 4442, in dilation
     34        new_vertices = [ list(scalar*v.vector()) for v in self.vertex_generator() ]
     35      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/geometry/polyhedron/base.py", line 4442, in <listcomp>
     36        new_vertices = [ list(scalar*v.vector()) for v in self.vertex_generator() ]
     37    MemoryError
     38**********************************************************************
     39}}}
     40
     41and the traceback that follows continues further than earlier:
    742
    843{{{