spec/support/models/functions/gauss.rb in danica-2.1.0 vs spec/support/models/functions/gauss.rb in danica-2.1.1

- old
+ new

@@ -1,13 +1,12 @@ module Danica class Function::Gauss < Function variables :x, median: :u, variance_root: { latex: '\theta', gnu: :v } - delegate :to_f, :to_tex, :to_gnu, to: :product private - def product - @sum ||= Product.new(parcels) + def function + @function ||= Product.new(parcels) end def parcels [ Division.new(1, denominator),