Ask Your Question

Revision history [back]

What if you replace

r = operator(*map(self, ex.operands()))

with

r = op(*map(self, ex.operands()))

operator is a module, here you might want to refer to the op parapeter of the method derivative.

What if you replace

r = operator(*map(self, ex.operands()))

with

r = op(*map(self, ex.operands()))

operator is a module, here you might want to refer to the op parapeter parameter of the method derivative.