Changeset 25032


Ignore:
Timestamp:
06/12/20 10:20:08 (5 years ago)
Author:
jdquinn
Message:

BUG: length -> size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/classes/qmu/uniform_uncertain.m ΒΆ

    r25028 r25032  
    3838                                self.nsteps=getfieldvalue(options,'nsteps',1);
    3939                                npart=qmupart2npart(self.partition);
    40                                 if npart~=length(self.upper,1),
     40                                if npart~=size(self.upper,1),
    4141                                        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']);
    4242                                end
    43                                 if npart~=length(self.lower,1),
     43                                if npart~=size(self.lower,1),
    4444                                        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']);
    4545                                end
Note: See TracChangeset for help on using the changeset viewer.