Skip to content

Commit

Permalink
FIX: pass kwargs in aslatex iterable implementation (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored May 20, 2024
1 parent c1480fe commit 24bfdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ampform/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _(obj: Iterable, **kwargs) -> str:
msg = "Need at least one item to render as LaTeX"
raise ValueError(msg)
latex = R"\begin{array}{c}" + "\n"
for item in map(aslatex, obj):
for item in (aslatex(i, **kwargs) for i in obj):
latex += Rf" {item} \\" + "\n"
latex += R"\end{array}"
return latex
Expand Down

0 comments on commit 24bfdae

Please sign in to comment.