Skip to content
Snippets Groups Projects
Commit f4eaf9e5 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Allow assignation of variables in an empty dseries object.

(cherry picked from commit 8b093aec)
parent cfc0927c
Branches
Tags
No related merge requests found
......@@ -214,6 +214,12 @@ switch length(S)
error('dseries::subsasgn: Wrong syntax!')
end
if isempty(A)
% Assign variables to an empty dseries object.
A = B;
return
end
if merge_dseries_objects
A = merge(A,B);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment