From 71a34895c9eed9f92070ca6ca7764dff39beb93c Mon Sep 17 00:00:00 2001 From: Sean <wonderxboy@gmail.com> Date: Tue, 11 Dec 2018 11:42:47 -0600 Subject: [PATCH] correct mistake in muladd function logic (#2269) Doesn't make sense to have %1 = mul(%x, %y) computed but never use the result %1 --- docs/dev/relay_intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dev/relay_intro.rst b/docs/dev/relay_intro.rst index d3c83590c..dde900a50 100644 --- a/docs/dev/relay_intro.rst +++ b/docs/dev/relay_intro.rst @@ -54,7 +54,7 @@ shows an example of a function calling another function. def @muladd(%x, %y, %z) { %1 = mul(%x, %y) - %2 = add(%x, %z) + %2 = add(%1, %z) %2 } def @myfunc(%x) { -- GitLab