Changeset 4862


Ignore:
Timestamp:
07/28/10 20:03:44 (15 years ago)
Author:
Eric.Larour
Message:

Casse where m is null

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp

    r4860 r4862  
    187187                       
    188188                        if(iomodel->qmu_mass_flux_num_profiles==0)ISSMERROR(" qmu_mass_flux_num_profiles is 0, when MassFlux computations were requested!");
     189
    189190                        array=(double**)xmalloc(iomodel->qmu_mass_flux_num_profiles*sizeof(double*));
    190191                        mdims_array=(int*)xmalloc(iomodel->qmu_mass_flux_num_profiles*sizeof(int));
     
    220221                                        }
    221222                                }
     223                                else{
     224                                        matrix=NULL;
     225                                }
    222226
    223227                                /*Assign: */
Note: See TracChangeset for help on using the changeset viewer.