Changeset 16116


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

CHG: fixed issue with scalar

File:
1 edited

Legend:

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

    r15838 r16116  
    106106                if(my_rank==0){
    107107                        if(fread(&pscalar,sizeof(IssmPDouble),1,fid)!=1)_error_("could not read scalar ");
    108                 }
    109 
    110                 /*Now, before we even broadcast this to other nodes, declare the scalar  as an independent variable!: */
    111                 scalar<<=pscalar;
    112 
     108                       
     109                        /*Now, before we even broadcast this to other nodes, declare the scalar  as an independent variable!: */
     110                        scalar<<=pscalar;
     111                }
     112
     113               
    113114                ISSM_MPI_Bcast(&scalar,1,ISSM_MPI_DOUBLE,0,IssmComm::GetComm());
    114115
Note: See TracChangeset for help on using the changeset viewer.