Changeset 26253


Ignore:
Timestamp:
05/10/21 11:00:19 (4 years ago)
Author:
Mathieu Morlighem
Message:

BUG: problem when multiple marshalled Double have the same name

File:
1 edited

Legend:

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

    r26187 r26253  
    696696                                                        /*create DoubleParam: */
    697697                                                        this->AddConstant(new IoConstant(scalar,record_name));
     698                                                }
     699                                                else{
     700                                                        if(fread(&pscalar,sizeof(IssmPDouble),1,this->fid)!=1) _error_("could not read scalar ");
    698701                                                }
    699702                                          }
Note: See TracChangeset for help on using the changeset viewer.