X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/ba15f3f33f837b1291f74bc94081e99b860d3228..b90f09da753f9c6b865d866bc4ef9097f1b763ac:/doc/reference.rst 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()