Skip to content

Commit

Permalink
240119.223110.HKT revise pdv
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Jan 19, 2024
1 parent d74eec7 commit 90e303d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2143,3 +2143,4 @@ nwrite
stardev
noutput
nprobinfo
dble
6 changes: 5 additions & 1 deletion matlab/tests/pdv.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,12 @@ function pdv()
for idbg = 1 : length(debug_flags)
options.debug = debug_flags{idbg};
for ivar = 1 : length(variants)
options.classical = strcmp(variants{ivar}, 'classical');
if ismac && strcmp(func2str(solver), 'bobyqa') && strcmp(options.precision, 'quadruple') && options.classical
% Skip the classical bobyqa in quadruple precision on macOS, as it will encounter a segmentation fault.
continue;
end
for iprint = -4 : 4
options.classical = strcmp(variants{ivar}, 'classical');
options.output_xhist = true;
options.iprint = iprint;
options
Expand Down

0 comments on commit 90e303d

Please sign in to comment.