Hi I am trying to overload the division operator in python for two objects of a wrapped D class. Something seems to be going wrong with this nb_divide property. Other operators like + work like a charm. Is there anything extra I have to add for the division?
Hi I am trying to overload the division operator in python for two objects of a wrapped D class. Something seems to be going wrong with this
nb_divide
property. Other operators like+
work like a charm. Is there anything extra I have to add for the division?