Changes between Initial Version and Version 3 of Ticket #24839


Ignore:
Timestamp:
02/26/18 14:12:38 (4 years ago)
Author:
chapoton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24839

    • Property Status changed from new to needs_work
    • Property Cc tscrim added
    • Property Summary changed from detail in weight space to issue in weight_space
    • Property Branch changed from to u/chapoton/24839
    • Property Commit changed from to 52eee770d21b90ea9616c9d213f73a7da7504612
  • Ticket #24839 – Description

    initial v3  
    1 changing some sums that cause issue when using python3
     1some sums complain when using python3
     2
     3{{{
     4File "src/sage/combinat/crystals/multisegments.py", line 432, in sage.combinat.crystals.multisegments.InfinityCrystalOfMultisegments.Element.phi
     5Failed example:
     6    mg.f(1).phi(0)
     7Exception raised:
     8    Traceback (most recent call last):
     9      File "/home/chapoton/sage3/local/lib/python3.6/site-packages/sage/doctest/forker.py", line 557, in _run
     10        self.compile_and_execute(example, compiler, test.globs)
     11      File "/home/chapoton/sage3/local/lib/python3.6/site-packages/sage/doctest/forker.py", line 967, in compile_and_execute
     12        exec(compiled, globs)
     13      File "<doctest sage.combinat.crystals.multisegments.InfinityCrystalOfMultisegments.Element.phi[5]>", line 1, in <module>
     14        mg.f(Integer(1)).phi(Integer(0))
     15      File "/home/chapoton/sage3/local/lib/python3.6/site-packages/sage/combinat/crystals/multisegments.py", line 436, in phi
     16        return self.epsilon(i) + self.weight().scalar(h[i])
     17      File "/home/chapoton/sage3/local/lib/python3.6/site-packages/sage/combinat/root_system/weight_space.py", line 506, in scalar
     18        return BR.sum(self[i] * c for (i, c) in lambdacheck)
     19    TypeError: iter() returned non-iterator of type 'dict_items'
     20}}}