Changeset 118 for trunk/src/matlab


Ignore:
Timestamp:
Oct 27, 2005 8:43:35 AM (17 years ago)
Author:
dkearney
Message:

added quick check feature to RpUnits.cc so if fromUnits == toUnits
no conversion is needed and we return the approriate type of value
as soon as possible.

Location:
trunk/src/matlab
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/matlab/rpChildren.cc

    r115 r118  
    2929    /* Check for proper number of arguments. */
    3030    if (nrhs != 3)
    31         mexErrMsgTxt("Two input required.");
     31        mexErrMsgTxt("Three input required.");
    3232    else if (nlhs > 1)
    3333        mexErrMsgTxt("Too many output arguments.");
  • trunk/src/matlab/rpChildrenByType.cc

    r115 r118  
    3030    /* Check for proper number of arguments. */
    3131    if (nrhs != 4)
    32         mexErrMsgTxt("Two input required.");
     32        mexErrMsgTxt("Four input required.");
    3333    else if (nlhs > 1)
    3434        mexErrMsgTxt("Too many output arguments.");
Note: See TracChangeset for help on using the changeset viewer.