lib/danica/sum.rb in danica-2.0.6 vs lib/danica/sum.rb in danica-2.1.0
- old
+ new
@@ -20,10 +20,10 @@
alias_method :gnu_symbol, :tex_symbol
def join_proc(symbol)
proc do |_, value|
- value.is_a?(Negative) ? ' ' : " #{symbol} "
+ value.is_a?(Negative) || value.is_a?(PositiveNegative) ? ' ' : " #{symbol} "
end
end
end
end