Skip to content

Commit

Permalink
gx2pdf tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
abhranildas committed May 12, 2021
1 parent e0207cc commit 77fb608
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
*.mltbx
*.prj
*.prj
*.html
*.mltbx
*.prj
2 changes: 1 addition & 1 deletion gx2pdf.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
addParameter(parser,'AbsTol',1e-10,@(x) isreal(x) && isscalar(x) && (x>=0));
addParameter(parser,'RelTol',1e-6,@(x) isreal(x) && isscalar(x) && (x>=0));
[~,v]=gx2stat(w,k,lambda,m,s);
addParameter(parser,'dx',sqrt(v)/100,@(x) isreal(x) && isscalar(x) && (x>=0)); % default derivative step-size is sd/100.
addParameter(parser,'dx',sqrt(v)/500,@(x) isreal(x) && isscalar(x) && (x>=0)); % default derivative step-size is sd/100.
parse(parser,x,w,k,lambda,m,s,varargin{:});
dx=parser.Results.dx;
method=parser.Results.method;
Expand Down

0 comments on commit 77fb608

Please sign in to comment.