summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
index 20683fb63ea..35dd2161b17 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
@@ -883,7 +883,11 @@
\tl_set:Nx \l_@@_model_tl
{
\exp_not:n { {#1} {#2} }
- { \prg_replicate:nn {#3} { 8 } }
+ {
+ \int_compare:nNnTF {#3} = 0
+ { 0 }
+ { \prg_replicate:nn {#3} { 8 } }
+ }
{ \prg_replicate:nn { 0 #4 } { 8 } }
{
\tl_if_blank:nF {#5}