cs107-undefined/Undefined_AD

Error when using cos(), sin()... for constants

Closed this issue · 2 comments

f1 = lambda x, y: sqrt(exp(x*y)) + cos(5)
AttributeError: unsupported attribute type.

Support added in Calculator.cos().
Still need to implement the rest functions in Calculator.py

Solved