Skip to content

Commit

Permalink
Fixed continuation syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tobydriscoll committed May 28, 2019
1 parent 5f4d003 commit 7e48777
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion @diskmap/diskmap.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
oldmap = varargin{1};
% Continuation of given map to given polygon
poly = varargin{2};
opt = scmapopt(oldmap);
opt = scmapopt(options(oldmap));
z0 = prevertex(oldmap);
if length(z0) ~= length(poly)
msg = 'Polygon %s must have the same length as that in %s.';
Expand Down
2 changes: 1 addition & 1 deletion @extermap/extermap.m
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
oldmap = varargin{1};
% Continuation of given map to given polygon
poly = varargin{2};
opt = scmapopt(oldmap);
opt = scmapopt(options(oldmap));
z0 = oldmap.prevertex;
if length(z0) ~= length(poly)
msg = 'Polygon %s must have the same length as that in %s.';
Expand Down
2 changes: 1 addition & 1 deletion @hplmap/hplmap.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
oldmap = varargin{1};
% Continuation of given map to given polygon
poly = varargin{2};
opt = scmapopt(oldmap);
opt = scmapopt(options(oldmap));
z0 = prevertex(oldmap);
if length(z0) ~= length(poly)
msg = 'Polygon %s must have the same length as that in %s.';
Expand Down
2 changes: 1 addition & 1 deletion @rectmap/rectmap.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
msg = 'Polygon %s must have the same length as that in %s.';
error(msg,inputname(2),inputname(1))
end
opt = scmapopt(oldmap);
opt = scmapopt(oldmap.options);
if nargin > 2
opt = scmapopt(opt,varargin{2});
end
Expand Down
2 changes: 1 addition & 1 deletion @riesurfmap/riesurfmap.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
% Continuation of given map to given polygon
poly = varargin{2};
branch = varargin{3};
opt = scmapopt(oldmap);
opt = scmapopt(options(oldmap));
z0 = prevertex(oldmap);
zb = prebranch(oldmap);
if length(z0) ~= length(poly)
Expand Down
2 changes: 1 addition & 1 deletion @stripmap/stripmap.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
msg = 'Polygon %s must have the same length as that in %s.';
error(msg,inputname(2),inputname(1))
end
opt = scmapopt(oldmap.scmap);
opt = scmapopt(options(oldmap));
if nargin > 2
opt = scmapopt(opt,varargin{2});
end
Expand Down

0 comments on commit 7e48777

Please sign in to comment.