Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
askhamwhat committed Feb 29, 2024
1 parent 0aeb6ad commit 33dbf5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion chunkie/chunkerkerneval.m
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@

% smooth for sufficiently far, adaptive otherwise

%optsflag = []; optsflag.fac = opts_use.fac;
rho = 1.8;
optsflag = []; optsflag.rho = rho;
flag = flagnear_rectangle(chnkr,targinfo.r,optsflag);
Expand Down
9 changes: 6 additions & 3 deletions chunkie/chunkerkernevalmat.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@

forcesmooth = false;
forceadap = false;
forcepqud = false;
forcepquad = false;
nonsmoothonly = false;
fac = 1.0;
eps = 1e-12;
if isfield(opts,'forcesmooth'); forcesmooth = opts.forcesmooth; end
if isfield(opts,'forceadap'); forceadap = opts.forceadap; end
if isfield(opts,'forcepquad'); forcepqud = opts.forcepquad; end
if isfield(opts,'forcepquad'); forcepquad = opts.forcepquad; end
if isfield(opts,'nonsmoothonly'); nonsmoothonly = opts.nonsmoothonly; end
if isfield(opts,'fac'); fac = opts.fac; end
if isfield(opts,'eps'); eps = opts.eps; end
Expand Down Expand Up @@ -152,7 +152,7 @@
return
end

if forcepqud
if forcepquad
optsflag = []; optsflag.fac = fac;
flag = flagnear(chnkr,targinfo.r,optsflag);
spmat = chunkerkernevalmat_ho(chnkr,ftmp,opdims, ...
Expand All @@ -165,6 +165,9 @@

% smooth for sufficiently far, adaptive otherwise

% TODO: change to chunkerkerneval system, need routine to generate
% upsampling matrix.

optsflag = []; optsflag.fac = fac;
flag = flagnear(chnkr,targinfo.r,optsflag);
spmat = chunkerkernevalmat_adap(chnkr,ftmp,opdims, ...
Expand Down

0 comments on commit 33dbf5d

Please sign in to comment.