Changeset 25020
- Timestamp:
- 06/11/20 19:39:16 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/qmu/preqmu.m
r25019 r25020 38 38 for j=1:numel(fieldvariables) 39 39 if strncmpi(fieldvariables(j).descriptor,'scaled_',7), 40 npart=partition_npart(fieldvariables(j).partition); 41 if str2int(fieldvariables(j).descriptor,'last')>npart, 42 error('preqmu error message: one of the expanded variables has more values than the number of partitions '); 40 npart=qmupart2npart(fieldvariables(j).partition); 41 nt=fieldvariables(j).nsteps; 42 if nt==1, 43 if str2int(fieldvariables(j).descriptor,'last')>npart, 44 error('preqmu error message: one of the expanded variables has more values than the number of partitions '); 45 end 43 46 end 44 47 end
Note:
See TracChangeset
for help on using the changeset viewer.