projects
/
linpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0e72448
)
Fix error message in Domain.plot()
author
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Tue, 19 Aug 2014 14:43:59 +0000
(16:43 +0200)
committer
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Tue, 19 Aug 2014 14:43:59 +0000
(16:43 +0200)
linpy/domains.py
patch
|
blob
|
history
diff --git
a/linpy/domains.py
b/linpy/domains.py
index
4b3e982
..
83f6c2c
100644
(file)
--- 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:
elif self.dimension == 3:
return self._plot_3d(plot=plot, **kwargs)
else:
- raise ValueError('
polyhedro
n must be 2 or 3-dimensional')
+ raise ValueError('
domai
n must be 2 or 3-dimensional')
def subs(self, symbol, expression=None):
"""
def subs(self, symbol, expression=None):
"""