Changeset 8982 for issm/trunk


Ignore:
Timestamp:
07/14/11 08:57:12 (14 years ago)
Author:
Mathieu Morlighem
Message:

Forgot to Bcast vector_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/io/Disk/IoModelFetchData.cpp

    r8967 r8982  
    302302                for(i=0;i<numrecords;i++){
    303303                        matrices[i]=NULL;
    304                         mdims[i]=NULL;
    305                         ndims[i]=NULL;
     304                        mdims[i]=0;
     305                        ndims[i]=0;
    306306                }
    307307
     
    399399        /*Broadcast code and vector type: */
    400400        MPI_Bcast(&record_code,1,MPI_INT,0,MPI_COMM_WORLD);
     401        MPI_Bcast(&vector_type,1,MPI_INT,0,MPI_COMM_WORLD);
    401402        if(record_code==5) MPI_Bcast(&vector_type,1,MPI_INT,0,MPI_COMM_WORLD);
    402403
Note: See TracChangeset for help on using the changeset viewer.