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

moved _error_ to _error2_ and added circular dependencies in Makefile.am to resolve all symbols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/modules/Exp2Kml/Exp2Kml.cpp

    r12049 r12497  
    2525        /*checks on arguments on the matlab side: */
    2626        if (nlhs > NLHS) {
    27                 Exp2KmlUsage(); _error_("Exp2Kml usage error");
     27                Exp2KmlUsage(); _error2_("Exp2Kml usage error");
    2828        }
    2929        if (nrhs < NRHS) {
    30                 Exp2KmlUsage(); _error_("Exp2Kml usage error");
     30                Exp2KmlUsage(); _error2_("Exp2Kml usage error");
    3131        }
    3232
     
    4949
    5050        /*some checks*/
    51         if (sgn !=+1 && sgn !=-1) _error_("Hemisphere sgn=%d must be +1 (north) or -1 (south).",sgn);
    52         if (fabs(cm)      > 180.) _error_("Central meridian cm=%g must be between -180 (west) and +180 (east) degrees.",cm);
    53         if (sp < 0. || sp >  90.) _error_("Standard parallel sp=%g must be between 0 and 90 degrees (in specified hemisphere).",sp);
     51        if (sgn !=+1 && sgn !=-1) _error2_("Hemisphere sgn=" << sgn << " must be +1 (north) or -1 (south).");
     52        if (fabs(cm)      > 180.) _error2_("Central meridian cm=" << cm << " must be between -180 (west) and +180 (east) degrees.");
     53        if (sp < 0. || sp >  90.) _error2_("Standard parallel sp=" << sp << " must be between 0 and 90 degrees (in specified hemisphere).");
    5454
    5555        /* Run core computations: */
Note: See TracChangeset for help on using the changeset viewer.