texlib
texlib copied to clipboard
Replace hardcoded infinity value
1000 != ∞
😄
I suspect that replacing 1000
with inf
would give some negative effects, since the algorithm relies on selecting the fewest total demerits, even if it contains "infinite" penalties.
i.e. INF + 3
would have to be larger than INF + 1