lib/plurimath/math/function/ker.rb in plurimath-0.6.0 vs lib/plurimath/math/function/ker.rb in plurimath-0.7.0
- old
+ new
@@ -5,10 +5,13 @@
module Plurimath
module Math
module Function
class Ker < UnaryFunction
def to_omml_without_math_tag(display_style)
- [r_element("ker", rpr_tag: false), omml_value(display_style)]
+ array = []
+ array << r_element("ker", rpr_tag: false) unless hide_function_name
+ array += Array(omml_value(display_style))
+ array
end
end
end
end
end