external function gets called twice
Nghi93 opened this issue · 5 comments
Nghi93 commented
Given this hash:
hash = {
test: 'POW(3, 3)'
}
calculator = Dentaku::Calculator.new
calculator.solve(hash)
my external function gets called twice with the same parameters.
Is this intended? Why is it called twice.
This does not happen when 3, 3 is given through variables:
calculator.store(a: 3, b: 3)
calculator.solve(test: 'POW(a,b)')
rubysolo commented
No, this is not intended -- I'll look into it. Thanks for reporting!
Nghi93 commented
Thank you for fixing this issue so fast.
Is it possible to release a patch version for dentaku?
rubysolo commented
Sure, I'll try to get a release out this afternoon.
rubysolo commented
Released v3.4.1! 🎉