Opened 3 years ago

Closed 3 years ago

#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, GitHub, GitLab) Commit: 54248358c36a48a609f76cd7d84ae5843eeb25a8
Dependencies: Stopgaps:

Status badges


In sage/combinat/ 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

Change History (5)

comment:1 Changed 3 years ago by gh-hchapman

  • Status changed from new to needs_review

comment:2 Changed 3 years ago by chapoton

EDIT: wrong ticket, sorry

Last edited 3 years ago by chapoton (previous) (diff)

comment:3 Changed 3 years 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 3 years ago by gh-hchapman

  • Authors set to Harrison Chapman

comment:5 Changed 3 years 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.