source: issm/oecreview/Archive/20545-21336/ISSM-20857-20858.diff@ 21337

Last change on this file since 21337 was 21337, checked in by Mathieu Morlighem, 8 years ago

CHG: added Archive/20545-21336

File size: 497 bytes
RevLine 
[21337]1Index: ../trunk-jpl/src/m/modules/ContourToMesh.py
2===================================================================
3--- ../trunk-jpl/src/m/modules/ContourToMesh.py (revision 20857)
4+++ ../trunk-jpl/src/m/modules/ContourToMesh.py (revision 20858)
5@@ -25,5 +25,7 @@
6 #Call mex module
7 [in_nod,in_elem] = ContourToMesh_python(index,x,y,contourname,interptype,edgevalue);
8
9- #return
10- return [in_nod,in_elem]
11+ if interptype=='element':
12+ return [in_elem,[]]
13+ else:
14+ return [in_nod,in_elem]
Note: See TracBrowser for help on using the repository browser.