X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/blobdiff_plain/09190394388163ef7df51c76bb33077ec8fc0949..49fa0d574a20817712006d479549dd96ccfff652:/doc/reference.rst?ds=sidebyside diff --git a/doc/reference.rst b/doc/reference.rst index e0efdde..de5300d 100644 --- a/doc/reference.rst +++ b/doc/reference.rst @@ -203,7 +203,7 @@ For example, if ``x`` is a :class:`Symbol`, then ``x + 1`` is an instance of :cl .. classmethod:: fromsympy(expr) Create a linear expression from a :mod:`sympy` expression. - Raise :exc:`ValueError` is the :mod:`sympy` expression is not linear. + Raise :exc:`TypeError` is the :mod:`sympy` expression is not linear. .. method:: tosympy()