Compared with v0.7.1, the major changes are as follows.
- Revise https://github.com/libprima/prima/blob/main/matlab/setup_tools/compile.m so that the MATLAB interface is thread-safe and recursion-safe, which are tested at https://github.com/zequipe/prima/actions/workflows/parallel_test_matlab.yml and https://github.com/zequipe/prima/actions/workflows/recursive_test_matlab.yml
- Revise
infnan.F90
so that it works correctly withgfortran-13 -Ofast
(see equipez/infnan#23). - Set
eta1
,eta2
,gamma1
, andgamma2
explicitly in https://github.com/libprima/prima/blob/main/matlab/interfaces/private/preprima.m. Previously, they were set toNaN
, which will be translated to the default values by the Fortran code. However, this will not work ifis_nan
does not work on the Fortran side, which did happen before point 2 was implemented ifgfortran-13
is invoked with-Ofast
. To avoid this problem, we set these parameters to the correct (default) values in the MATLAB interface.