Skip to content

Commit

Permalink
Fixes to make the demos work.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobydriscoll committed Jul 22, 2014
1 parent 5a7b97f commit 7477a93
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion @crdiskmap/crdiskmap.m
Expand Up @@ -53,7 +53,7 @@
oldmap = poly;
% Continuation of given map to given polygon
poly = varargin{1};
opt = scmapopt(oldmap);
opt = options(oldmap);
cr0 = oldmap.crossratio;
if length(cr0) ~= length(poly)-3
msg = 'Polygon %s must have the same length as that in %s.';
Expand Down
4 changes: 2 additions & 2 deletions @crrectmap/crrectmap.m
Expand Up @@ -79,7 +79,7 @@
error('Invalid continuation syntax.')
end
poly = polygon(MD);
opt = scmapopt(MD);
opt = options(MD);

case 'crdiskmap'
MD = poly;
Expand Down Expand Up @@ -128,7 +128,7 @@
else
param = parameters(MD);
orig = true(size(w));
opt = scmapopt(MD);
opt = options(MD);
end

map = map@scmap(poly,opt);
Expand Down
4 changes: 2 additions & 2 deletions @crrectmap/private/crrect.m
Expand Up @@ -146,11 +146,11 @@
else
% betar was supplied: just do computation

aff = craffine(w,beta,cr,Q);
aff = crdiskmap.craffine(w,beta,cr,Q);
k = min(find(betar<0));
wr = NaN*w;
wr([k rem(k,n)+1]) = [0;1];
[affr,wr] = craffine(wr,betar,cr,Q);
[affr,wr] = crdiskmap.craffine(wr,betar,cr,Q);
end

% End of user-call section
Expand Down
10 changes: 5 additions & 5 deletions scdlong.m
Expand Up @@ -24,7 +24,7 @@
' -2.0000 + 2.0000i',
' 2.0000 + 2.0000i ]);',
'plot(p)',
'f=diskmap(p,scmapopt(''tol'',1e-6,''trace'',''on''));',
'f=diskmap(p,sctool.scmapopt(''tol'',1e-6,''trace'',''on''));',
'',
'',
'' };
Expand Down Expand Up @@ -67,7 +67,7 @@

slide(5).code={
'cla',
'f=rectmap(p,[1 3 4 6],scmapopt(''tol'',1e-6));',
'f=rectmap(p,[1 3 4 6],sctool.scmapopt(''tol'',1e-6));',
'plot(f,4,8)',
'title(''Map from rectangle'')' };
slide(5).text={
Expand All @@ -92,7 +92,7 @@
%========== Slide 7 ==========

slide(7).code={
'f=stripmap(p,[3 6],scmapopt(''tol'',1e-6));',
'f=stripmap(p,[3 6],sctool.scmapopt(''tol'',1e-6));',
'plot(f,8,4)',
'title(''Map from strip'')' };
slide(7).text={
Expand Down Expand Up @@ -122,7 +122,7 @@
%========== Slide 9 ==========

slide(9).code={
'f=rectmap(p,[2 4 5 1],scmapopt(''tol'',1e-4));',
'f=rectmap(p,[2 4 5 1],sctool.scmapopt(''tol'',1e-4));',
'plot(f,4,6)' };
slide(9).text={
'>> f = rectmap(p,[2 4 5 1]);',
Expand All @@ -136,7 +136,7 @@
%========== Slide 10 ==========

slide(10).code={
'f=crdiskmap(p,scmapopt(''tol'',1e-4));',
'f=crdiskmap(p,sctool.scmapopt(''tol'',1e-4));',
'f=center(f,i);',
'plot(f)',
'' };
Expand Down
2 changes: 1 addition & 1 deletion scdtutor.m
Expand Up @@ -29,7 +29,7 @@
%========== Slide 3 ==========

slide(3).code={
'opt = scmapopt(''trace'',''off'');',
'opt = sctool.scmapopt(''trace'',''off'');',
'f = hplmap(p,opt);',
'plot(f,12,6)',
'' };
Expand Down

0 comments on commit 7477a93

Please sign in to comment.