Changeset 25033
- Timestamp:
- 06/12/20 10:24:30 (5 years ago)
- Location:
- issm/trunk-jpl/src/m
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/qmu/uniform_uncertain.m
r25032 r25033 74 74 end 75 75 %better have a partition vector that has as many partitions as upper and lower's size: 76 if length(self.upper,1)~=partition_npart(self.partition),76 if size(self.upper,1)~=partition_npart(self.partition), 77 77 error('uniform_uncertain error message: row size of upper and partition size should be identical'); 78 78 end 79 if length(self.lower,1)~=partition_npart(self.partition),79 if size(self.lower,1)~=partition_npart(self.partition), 80 80 error('uniform_uncertain error message: row size of lower and partition size should be identical'); 81 81 end -
issm/trunk-jpl/src/m/qmu/setupdesign/QmuSetupVariables.m
r25028 r25033 17 17 18 18 if isa(variables,'uniform_uncertain'), 19 nlower= length(variables.lower,1);20 nupper= length(variables.upper,1);19 nlower=size(variables.lower,1); 20 nupper=size(variables.upper,1); 21 21 if (nlower ~= npart || nupper ~=npart), 22 22 error('QmuSetupVariables error message: upper and lower fields should have the same number of rows as the number of partitions'); 23 23 end 24 nlower= length(variables.lower,2);25 nupper= length(variables.upper,2);24 nlower=size(variables.lower,2); 25 nupper=size(variables.upper,2); 26 26 if (nlower ~= nt || nupper ~= nt), 27 27 error('QmuSetupVariables error message: upper and lower fields should have the same number of cols as the number of time steps');
Note:
See TracChangeset
for help on using the changeset viewer.