1 | | changing some sums that cause issue when using python3 |
| 1 | some sums complain when using python3 |
| 2 | |
| 3 | {{{ |
| 4 | File "src/sage/combinat/crystals/multisegments.py", line 432, in sage.combinat.crystals.multisegments.InfinityCrystalOfMultisegments.Element.phi |
| 5 | Failed example: |
| 6 | mg.f(1).phi(0) |
| 7 | Exception 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 | }}} |