Changeset 16515


Ignore:
Timestamp:
10/22/13 11:21:47 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed marshalling for new IoModel checkconsistentcy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/contrib/gslib/pkriging.m ΒΆ

    r16250 r16515  
    2626WriteData(fid,'enum',3,'data',x_interp,'format','DoubleMat');
    2727WriteData(fid,'enum',4,'data',y_interp,'format','DoubleMat');
     28
     29%Last, write MaximumNumberOfEnum+1 to make sure that the binary file is not corrupt
     30WriteData(fid,'enum',MaximumNumberOfDefinitionsEnum()+1,'data',true,'format','Boolean');
     31
     32%Now, write number of options
    2833options.marshall(fid,5);
    2934st=fclose(fid);
Note: See TracChangeset for help on using the changeset viewer.