From 9356fc43ffc442c333253d7d76172bf74b3a69f1 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Wed, 25 Nov 2026 19:41:13 -0500 Subject: [PATCH 1/2] fix jina_reaclib_3_1 fallback if try1_reaclib_3_1 fails, the input and output nuclei are swapped and we should call try1_reaclib_1_3, but instead try_reaclib_3_1 was called again. This fix makes it consistent with the other functions. --- rates/private/ratelib.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rates/private/ratelib.f90 b/rates/private/ratelib.f90 index 9cdc10137f..4d53c989ed 100644 --- a/rates/private/ratelib.f90 +++ b/rates/private/ratelib.f90 @@ -3807,7 +3807,7 @@ subroutine jina_reaclib_3_1(i1, i2, i3, o1, tf, fr, rr, str) call try1_reaclib_3_1(i1, i2, i3, o1, tf, fr, rr, str, ierr) if (ierr == 0) return ierr = 0 - call try1_reaclib_3_1(o1, i1, i2, i3, tf, rr, fr, str, ierr) + call try1_reaclib_1_3(o1, i1, i2, i3, tf, rr, fr, str, ierr) if (ierr /= 0) then write(*,*) 'failed in jina_reaclib_3_1 ' // trim(str), tf% T9 call mesa_error(__FILE__,__LINE__) From 17d83eb2ff4957c9ec42583275e62ca107082753 Mon Sep 17 00:00:00 2001 From: Ebraheem Farag <63124736+Debraheem@users.noreply.github.com> Date: Thu, 26 Nov 2026 15:17:49 -0500 Subject: [PATCH 2/2] Document the JINA Reaclib fallback fix [ci skip] --- docs/source/changelog.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 8c38be379e..64a082f0b8 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -124,6 +124,10 @@ include both the explicit hot CNO reactions and the corresponding approximate reaction. See :ref:`the known bugs entry ` and `gh-1056 `_. +Fixed the JINA Reaclib lookup for three-to-one reactions to try the reverse +one-to-three reaction when the forward rate is missing. See +`gh-1135 `_. + Fixed the hydrodynamic drag energy term so that it is only included when ``v_flag = .true.``. Previously, using ``u_flag`` with a nonzero ``drag_coefficient`` could inject spurious energy. See :ref:`the known bugs