Changeset 2389


Ignore:
Timestamp:
10/07/09 16:36:45 (15 years ago)
Author:
Mathieu Morlighem
Message:

removed checknumberofmatlabarguments: variable nargout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/mex/ContourToMesh/ContourToMesh.cpp

    r2388 r2389  
    5252
    5353        /*checks on arguments on the matlab side: */
    54         CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&ContourToMeshUsage);
     54        //CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&ContourToMeshUsage); Cant' use it here, as we have variable  outputs.
     55        if((nlhs==0) && (nrhs!=NRHS)){
     56                ContourToMeshUsage();
     57                throw ErrorException(__FUNCT__," usage. See above");
     58        }
    5559
    5660        /*Fetch inputs: */
Note: See TracChangeset for help on using the changeset viewer.