From d22004d6181732d0a0ce897595925c01dc930e41 2013-01-05 10:27:30 From: Bussonnier Matthias Date: 2013-01-05 10:27:30 Subject: [PATCH] Merge pull request #2741 from bfroehle/cython_example_erf_missing Add note to `%cython` Black-Scholes example warning of missing erf. --- diff --git a/docs/examples/notebooks/cython_extension.ipynb b/docs/examples/notebooks/cython_extension.ipynb index 8eea56b..d9f4aa1 100644 --- a/docs/examples/notebooks/cython_extension.ipynb +++ b/docs/examples/notebooks/cython_extension.ipynb @@ -149,7 +149,7 @@ "source": [ "Probably the most important magic is the `%cython` magic. This is similar to the `%%cython_pyximport` magic, but doesn't require you to specify a module name. Instead, the `%%cython` magic uses manages everything using temporary files in the `~/.cython/magic` directory. All of the symbols in the Cython module are imported automatically by the magic.\n", "\n", - "Here is a simple example of a Black-Scholes options pricing algorithm written in Cython:" + "Here is a simple example of a Black-Scholes options pricing algorithm written in Cython. Please note that this example might not compile on non-POSIX systems (e.g., Windows) because of a missing `erf` symbol." ] }, {