Skip to content

Commit 6bfdd28

Browse files
committed
250801.011456.PDT [skip ci] revise comments in compile.m
1 parent 74f815f commit 6bfdd28

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

matlab/setup_tools/compile.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ function compile(solvers, mexdir, fortd, gateways, options)
6565
% Zaikun 20250720:
6666
% The following code is to circumvent a bug in MATLAB R2025a, which segfaults on Linux when the
6767
% Fortran files contain internal procedures that are passed as actual arguments to other procedures.
68-
% To avoid this bug, we replace gateways/*_mex.F90 with gateways/R2025a/*_mex.F90
69-
% fortran/cobylb.f90 with gateways/R2025a/cobylb.f90, and
70-
% fortran/classical/cobyla.f90 with gateways/R2025a/classical_cobyla.f90,
68+
% To avoid this bug, we replace gateways/*_mex.F90 with gateways/R2025a/*_mex.F90,
69+
% fortd/cobyla/cobylb.f90 with gateways/R2025a/cobylb.f90, and
70+
% fortd/classical/cobyla/cobyla.f90 with gateways/R2025a/classical_cobyla.f90,
7171
% the latter of which use module variables instead of
7272
% internal procedures. The price is that PRIMA becomes thread-unsafe and recursion-unsafe.
7373
% See MathWorks Technical Support Case 07931486 and

0 commit comments

Comments
 (0)