Skip to content
Snippets Groups Projects
Commit 100c11fb authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

error function: Fix various syntax bugs

One input argument is required
parent 27efd5f6
No related branches found
No related tags found
1 merge request!52error function: Fix various syntax bugs
...@@ -118,7 +118,7 @@ if isdseries(o) && isdseries(p) ...@@ -118,7 +118,7 @@ if isdseries(o) && isdseries(p)
end end
q.data = bsxfun(@rdivide, o.data, p.data); q.data = bsxfun(@rdivide, o.data, p.data);
else else
error() error('dseries::mrdivide: wrong inputs')
end end
return % --*-- Unit tests --*-- return % --*-- Unit tests --*--
......
...@@ -130,7 +130,7 @@ if isdseries(o) && isdseries(p) ...@@ -130,7 +130,7 @@ if isdseries(o) && isdseries(p)
end end
q.data = bsxfun(@times, o.data, p.data); q.data = bsxfun(@times, o.data, p.data);
else else
error() error('dseries::mtimes: wrong inputs')
end end
return % --*-- Unit tests --*-- return % --*-- Unit tests --*--
......
...@@ -139,7 +139,7 @@ if isdseries(o) && isdseries(p) ...@@ -139,7 +139,7 @@ if isdseries(o) && isdseries(p)
end end
q.data = bsxfun(@plus,o.data,p.data); q.data = bsxfun(@plus,o.data,p.data);
else else
error() error('dseries::plus: wrong inputs')
end end
return % --*-- Unit tests --*-- return % --*-- Unit tests --*--
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment