Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #12364: ValueError + AttributeError when calling layout_graphviz…
… on a Hasse diagram With sage-4.7.2 and {{{sage -i dot2tex}}} installed : {{{ sage: m = WordMorphism('a->abb,b->ba') sage: w = m.fixed_point('a') sage: prefix = Word(list(w[:100])) sage: pals = prefix.palindromes() sage: poset = Poset((pals, lambda x,y: x.is_factor(y))) sage: H = poset.hasse_diagram() sage: H.layout_graphviz() #require dot2tex ERROR Failed to process input Traceback (most recent call last): ... ValueError: invalid literal for int() with base 10: '249.88' ------------------------------------------------------- Traceback (most recent call last): ... AttributeError: 'str' object has no attribute 'iteritems' }}} This came up in #12351. URL: https://trac.sagemath.org/12364 Reported by: slabbe Ticket author(s): Sébastien Labbé Reviewer(s): Travis Scrimshaw
- Loading branch information