Skip to content

Commit

Permalink
241013.014646.CST add signif3 in prof.m
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Oct 12, 2024
1 parent a3715fe commit 80da617
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions matlab/tests/prof.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@
output{7} = profile(argin{:});
options = rmfield(options, {'eval_options'});

% Precision of function evaluation ~ 1.0e-3
options.eval_options = struct('signif', 3);
argin = [varargin, {options}];
output{8} = profile(argin{:});
options = rmfield(options, {'eval_options'});


outputfiles = struct();
prob_types = fieldnames(output{1});
Expand Down

0 comments on commit 80da617

Please sign in to comment.