瀏覽代碼

Tutorial: Extend literal include to contain full code changes in solution

The solution for step 7 todo 5 did not include all of the code changes.
Modify it to include the needed `#endif` code change.
Markus Ferrell 2 年之前
父節點
當前提交
a8679c997d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Help/guide/tutorial/Adding System Introspection.rst

+ 1 - 1
Help/guide/tutorial/Adding System Introspection.rst

@@ -156,7 +156,7 @@ compute the square root in the ``mysqrt`` function. The ``mysqrt`` function in
   :name: MathFunctions/mysqrt.cxx-ifdef
   :language: c++
   :start-after: // if we have both log and exp then use them
-  :end-before: // do ten iterations
+  :end-before: return result;
 
 .. raw:: html