lib/danica/wrapper/constant.rb in danica-2.7.5 vs lib/danica/wrapper/constant.rb in danica-2.7.6
- old
+ new
@@ -25,9 +25,10 @@
value.to_f
end
def ==(other)
return false unless other.class == self.class
+
gnuplot == other.gnuplot && latex == other.latex && value == other.value
end
def to_tex(**_options)
latex.to_s