Skip to content

Version 0.7.2

Latest
Compare
Choose a tag to compare
@zaikunzhang zaikunzhang released this 08 Oct 17:42
· 878 commits to main since this release

Compared with v0.7.1, the major changes are as follows.

  1. 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
  2. Revise infnan.F90 so that it works correctly with gfortran-13 -Ofast (see equipez/infnan#23).
  3. Set eta1, eta2, gamma1, and gamma2 explicitly in https://github.com/libprima/prima/blob/main/matlab/interfaces/private/preprima.m. Previously, they were set to NaN, which will be translated to the default values by the Fortran code. However, this will not work if is_nan does not work on the Fortran side, which did happen before point 2 was implemented if gfortran-13 is invoked with -Ofast. To avoid this problem, we set these parameters to the correct (default) values in the MATLAB interface.