#28276 closed defect (fixed)

Fix tex_from_skew_array format command for tuple-valued arrays

Reported by: gh-hchapman Owned by:
Priority: trivial Milestone: sage-8.9
Component: combinatorics Keywords: bugfix, tableau, tableaux
Cc: Merged in:
Authors: Harrison Chapman Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: 5424835 (Commits) Commit: 54248358c36a48a609f76cd7d84ae5843eeb25a8
Dependencies: Stopgaps:

Description

In sage/combinat/output.py tex_from_skew_array, a format command is used in the format "format string {}"%var, which formats var correctly if var is a non-tuple type but interprets var as multiple format parameters if var is a tuple and fails.

By changing the format of the command to "format string {}"%(var,) this functionality is fixed.

This fix is required for proper output of tuple-valued tableau to use the latex code in output.py

Change History (5)

comment:1 Changed 14 months ago by gh-hchapman

  • Status changed from new to needs_review

comment:2 Changed 14 months ago by chapoton

  • please avoid using $ signs, use backticks ` instead
  • missing :: in the doc of isomorphic_order
  • in random_element doc, wrong position and formatting for OUTPUT:, that should be before the examples.
Version 0, edited 14 months ago by chapoton (next)

comment:3 Changed 14 months ago by chapoton

  • Reviewers set to Frédéric Chapoton
  • Status changed from needs_review to positive_review

ok, looks good. Please fill the Authors field above with your real name.

comment:4 Changed 14 months ago by gh-hchapman

  • Authors set to Harrison Chapman

comment:5 Changed 14 months ago by vbraun

  • Branch changed from u/gh-hchapman/fix_combinat_output_talbeau_format to 54248358c36a48a609f76cd7d84ae5843eeb25a8
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.