source:
issm/oecreview/Archive/16133-16554/ISSM-16513-16514.diff@
16556
Last change on this file since 16556 was 16556, checked in by , 11 years ago | |
---|---|
File size: 1.0 KB |
-
../trunk-jpl/src/m/solve/marshall.py
41 41 #print "marshalling %s ..." % field 42 42 exec("md.%s.marshall(md,fid)" % field) 43 43 44 #Last, write MaximumNumberOfEnum+1 to make sure that the binary file is not corrupt 45 WriteData(fid,'enum',MaximumNumberOfDefinitionsEnum()+1,'data',True,'format','Boolean'); 46 44 47 #close file 45 48 try: 46 49 fid.close() -
../trunk-jpl/src/m/solve/marshall.m
38 38 marshall(md.(field),md,fid); 39 39 end 40 40 41 %Last, write MaximumNumberOfEnum+1 to make sure that the binary file is not corrupt 42 WriteData(fid,'enum',MaximumNumberOfDefinitionsEnum()+1,'data',true,'format','Boolean'); 43 41 44 %close file 42 45 st=fclose(fid); 43 46 if st==-1,
Note:
See TracBrowser
for help on using the repository browser.