Commit 3842d202 authored by Jakob Gabriel's avatar Jakob Gabriel
Browse files

quantity.Discrete: setName now returns object

parent 774a35fd
......@@ -239,7 +239,7 @@ classdef (InferiorClasses = {?quantity.Symbolic, ?quantity.Operator}) Discrete
end
end
function setName(obj, newName)
function obj = setName(obj, newName)
% Function to set all names of all elements of the quantity obj to newName.
[obj.name] = deal(newName);
end % setName()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment