Minor fix in subsasgn to solve the following bug:
Minor fix in subsasgn to solve the following bug:

>> x = chebfun('x')
x = 
   chebfun column (1 smooth piece)
       interval       length   endpoint values   
[      -1,       1]        2       -1        1   
vertical scale =   1 
>> f = [x x]
f = 
   chebfun column 1 (1 smooth piece)
       interval       length   endpoint values   
[      -1,       1]        2       -1        1   
vertical scale =   1 
   chebfun column 2 (1 smooth piece)
       interval       length   endpoint values   
[      -1,       1]        2       -1        1   
vertical scale =   1 
>> f(:,1) = []
??? Error using ==> internal.matlab.Message
In 'bioinfo:restrict:CannotFindEnzyme', data type supplied is incorrect for parameter {1}.

Error in ==> message at 17
    msgObj = internal.matlab.Message(msgID,varargin{:});

Error in ==> restrict>lookupEnzyme at 215
    error(message('bioinfo:restrict:CannotFindEnzyme', theEnzyme));

Error in ==> restrict at 72
        [pattern, position,cut2]=lookupEnzyme(pattern);

Error in ==> chebfun.subsasgn at 85
                fcol = restrict(vin,domain(fcol));



Now:

>> f(:,1) = []
f = 
   chebfun column (1 smooth piece)
       interval       length   endpoint values   
[      -1,       1]        2       -1        1   
vertical scale =   1 
>> 
>> f(:,1) = []
f = 
   empty chebfun




chebfun/chebfun_v4,nickhale/chebfunV4