lainwir3d / sailfish-rpn-calculator

A RPN calculator for Sailfish OS
GNU General Public License v2.0
2 stars 1 forks source link

Log function has stopped working #1

Closed Pertti2012 closed 5 years ago

Pertti2012 commented 6 years ago

Log function does not work, is only giving an error message "Error". Same problem on XperiaX and JollaC, Lapuanjoki 2.1.4.14.

AngieSoft commented 5 years ago

syntax-error in file file common/python/rpncalc_mpmath_backend.py line 79: --- Backend.engineFunction("log", lambda op: mpmath.log(op, b=10), operands=1) +++ Backend.engineFunction("log", lambda op: mpmath.log(op, 10), operands=1)

source: [(http://mpmath.org/doc/current/functions/powers.html)]

lainwir3d commented 5 years ago

Already fixed in commit 404fd71916c376edd9d4326cbfeabf95bb94a778