Explorar el Código

Added hint message for chain rule.

Taddeus Kroes hace 14 años
padre
commit
fe3485a857
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/rules/derivatives.py

+ 3 - 0
src/rules/derivatives.py

@@ -47,6 +47,9 @@ def chain_rule(root, args):
     return f_deriv(root, f_deriv_args) * der(g, x)
 
 
+MESSAGES[chain_rule] = _('Apply the chain rule to {0}.')
+
+
 def match_zero_derivative(node):
     """
     der(x, y)  ->  0