From: Vivien Maisonneuve Date: Tue, 19 Aug 2014 14:43:59 +0000 (+0200) Subject: Fix error message in Domain.plot() X-Git-Tag: 1.0~30 X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/commitdiff_plain/5a5fd1db359b190c6207301eb08705a34367968a?ds=inline;hp=0e724482ff4e0713a0ec55c1cd3c2293ece5ed47 Fix error message in Domain.plot() --- diff --git a/linpy/domains.py b/linpy/domains.py index 4b3e982..83f6c2c 100644 --- a/linpy/domains.py +++ b/linpy/domains.py @@ -599,7 +599,7 @@ class Domain(GeometricObject): elif self.dimension == 3: return self._plot_3d(plot=plot, **kwargs) else: - raise ValueError('polyhedron must be 2 or 3-dimensional') + raise ValueError('domain must be 2 or 3-dimensional') def subs(self, symbol, expression=None): """