lib/hilbert/api/limit_api.rb in hilbert-0.0.2700100 vs lib/hilbert/api/limit_api.rb in hilbert-0.0.2700110
- old
+ new
@@ -12,9 +12,10 @@
else
"temp_cal_f(#{var}) <= #{formula};
temp_cal_f(#{close_to} + Float::EPSILON ** 20)"
end
when :inter
+ Dydx::API.reset!
Dydx::API.store_func(eval(var), eval(formula), :tmp)
Dydx::API.eval_func(eval(close_to) + Float::EPSILON ** 20, :tmp)
else
fail "List is not implemented for #{$meta_info.lang_str}"
end