Index: /issm/trunk-jpl/src/m/classes/qmu/uniform_uncertain.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/qmu/uniform_uncertain.m	(revision 25031)
+++ /issm/trunk-jpl/src/m/classes/qmu/uniform_uncertain.m	(revision 25032)
@@ -38,8 +38,8 @@
 				self.nsteps=getfieldvalue(options,'nsteps',1);
 				npart=qmupart2npart(self.partition);
-				if npart~=length(self.upper,1),
+				if npart~=size(self.upper,1),
 					error(['uniform_uncertain constructor: for the scaled variable' self.descriptor ' the row size of the upper field should be identical to the number of partitions']);
 				end
-				if npart~=length(self.lower,1),
+				if npart~=size(self.lower,1),
 					error(['uniform_uncertain constructor: for the scaled variable' self.descriptor ' the row size of the lower field should be identical to the number of partitions']);
 				end
