Changeset 4371


Ignore:
Timestamp:
06/30/10 16:13:06 (15 years ago)
Author:
Mathieu Morlighem
Message:

REadded checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Penta.cpp

    r4369 r4371  
    996996       
    997997        /*Do nothing if we  don't find it: */
    998         if(!input)return;
     998        if(!input) return;
    999999
    10001000        /*Constrain input using cm_min and cm_max: */
     
    10451045        /*Make a copy of the original input: */
    10461046        original=(Input*)this->inputs->GetInput(original_enum);
     1047        if(!original)ISSMERROR(" could not find old input with enum: %s",EnumAsString(original_enum));
    10471048        copy=(Input*)original->copy();
    10481049
     
    10611062        /*Make a copy of the original input: */
    10621063        input=(Input*)this->inputs->GetInput(enum_type);
     1064        if(!input)ISSMERROR(" could not find old input with enum: %s",EnumAsString(enum_type));
    10631065
    10641066        /*Scale: */
Note: See TracChangeset for help on using the changeset viewer.