Changeset 16091


Ignore:
Timestamp:
09/05/13 10:00:58 (12 years ago)
Author:
Eric.Larour
Message:

CHG: issue with miscast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/IoModel.cpp

    r16087 r16091  
    608608                if(fread(&scalar,sizeof(IssmPDouble),1,fid)!=1)_error_("could not read scalar ");
    609609        }
    610         ISSM_MPI_Bcast(&scalar,1,ISSM_MPI_DOUBLE,0,IssmComm::GetComm());
     610        ISSM_MPI_Bcast(&scalar,1,ISSM_MPI_PDOUBLE,0,IssmComm::GetComm());
    611611
    612612        /*Assign output pointers: */
     
    706706                }
    707707
    708                 ISSM_MPI_Bcast(matrix,M*N,ISSM_MPI_DOUBLE,0,IssmComm::GetComm());
     708                ISSM_MPI_Bcast(matrix,M*N,ISSM_MPI_PDOUBLE,0,IssmComm::GetComm());
    709709        }
    710710
     
    923923                                }
    924924
    925                                 ISSM_MPI_Bcast(matrix,M*N,ISSM_MPI_DOUBLE,0,IssmComm::GetComm());
     925                                ISSM_MPI_Bcast(matrix,M*N,ISSM_MPI_PDOUBLE,0,IssmComm::GetComm());
    926926                                matrices[i]=xNew<IssmDouble>(M*N);
    927927                                for (int j=0;j<M*N;++j) {matrices[i][j]=matrix[j];}
Note: See TracChangeset for help on using the changeset viewer.