Changeset 8421
- Timestamp:
- 05/25/11 07:21:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/ismodelselfconsistent.m
r8419 r8421 295 295 forcingfields{end+1}=['forcings.' forcingnames{i}]; 296 296 end 297 check length(md,forcingfields,md.numberofnodes+1)297 checksize(md,forcingfields,[md.numberofnodes+1 NaN]) 298 298 299 299 %Check that forcing columns are properly ordered … … 567 567 for i=1:length(fields), 568 568 eval(['field=md.' fields{i} ';']); 569 if size(field,1)~=fieldlength,569 if length(field)~=fieldlength, 570 570 error(['model not consistent: field ' fields{i} ' length should be ' num2str(fieldlength)]); 571 571 end
Note:
See TracChangeset
for help on using the changeset viewer.