From 5ccbf7e3cfb22cccbd1883c3e5cb720189f8bad9 Mon Sep 17 00:00:00 2001 From: Tor Arvid Lund Date: Wed, 6 Nov 2019 13:42:39 +0100 Subject: [PATCH] [backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip] Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x` --- doc/tut3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tut3.rst b/doc/tut3.rst index c71711ca99..2feae1f7d2 100644 --- a/doc/tut3.rst +++ b/doc/tut3.rst @@ -28,7 +28,7 @@ Examples of things that can be implemented in macros: * Symbolic differentiation of an expression. ``diff(a*pow(x,3) + b*pow(x,2) + c*x + d, x)`` is converted to - ``3*a*pow(x,2) + 2*a*x + c`` + ``3*a*pow(x,2) + 2*b*x + c`` Macro Arguments