Ignore:
Timestamp:
08/14/12 16:58:21 (13 years ago)
Author:
Mathieu Morlighem
Message:

CHG: renaming _error2_ _error_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/shared/Matrix/MatrixUtils.cpp

    r12493 r13036  
    3636        if (!itrnb) {
    3737                if (nrowb != idimb) {
    38                         _error2_("Matrix A and B inner vectors not equal size.");
     38                        _error_("Matrix A and B inner vectors not equal size.");
    3939                }
    4040                idimc=ncolb;
     
    4242        else {
    4343                if (ncolb != idimb) {
    44                         _error2_("Matrix A and B inner vectors not equal size.");
     44                        _error_("Matrix A and B inner vectors not equal size.");
    4545                }
    4646                idimc=nrowb;
     
    4949        if (!itrnc) {
    5050                if (nrowc != idimc) {
    51                         _error2_("Matrix B and C inner vectors not equal size.");
     51                        _error_("Matrix B and C inner vectors not equal size.");
    5252                }
    5353                idimd=ncolc;
     
    5555        else {
    5656                if (ncolc != idimc) {
    57                         _error2_("Matrix B and C inner vectors not equal size.");
     57                        _error_("Matrix B and C inner vectors not equal size.");
    5858                }
    5959                idimd=nrowc;
     
    124124
    125125        if (ntrma != ntrmb) {
    126                 _error2_("Matrix A and B inner vectors not equal size");
     126                _error_("Matrix A and B inner vectors not equal size");
    127127            noerr=0;   
    128128                return noerr;
     
    175175
    176176        if (!b && nvec) {
    177                 _error2_("No right-hand side for nvec=" << nvec << ".");
     177                _error_("No right-hand side for nvec=" << nvec << ".");
    178178                noerr=0;
    179179                return noerr;
     
    214214                        xDelete<int>(pivrc2);
    215215                        xDelete<int>(pindx);
    216                         _error2_("Pivot " << pivot << " less than machine epsilon");
     216                        _error_("Pivot " << pivot << " less than machine epsilon");
    217217                        noerr=0;
    218218                        return noerr;
     
    349349        /*Compute determinant*/
    350350        Matrix2x2Determinant(&det,A);
    351         if (fabs(det) < DBL_EPSILON) _error2_("Determinant smaller that machine epsilon");
     351        if (fabs(det) < DBL_EPSILON) _error_("Determinant smaller that machine epsilon");
    352352
    353353        /*Compute invert*/
     
    374374        /*Compute determinant*/
    375375        Matrix3x3Determinant(&det,A);
    376         if (fabs(det) < DBL_EPSILON) _error2_("Determinant smaller that machine epsilon");
     376        if (fabs(det) < DBL_EPSILON) _error_("Determinant smaller that machine epsilon");
    377377
    378378        /*Compute invert*/
Note: See TracChangeset for help on using the changeset viewer.