Skip to content

Commit d8182cc

Browse files
authored
Merge pull request #210 from njoy/fix/documentation
fixing typo in documentation
2 parents fb113ba + c5ce36c commit d8182cc

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

ReleaseNotes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Given here are some release notes for ENDFtk.
33

44
## [ENDFtk v1.1.1](https://github.com/njoy/ENDFtk/pull/xxx)
5-
This update removes the regions() and pairs() interface functions on the TAB1 record interface functions that are unused. The removal of these interface functions has no impact on the Python interface as these interface functions were not included on the Python side.
5+
This update removes the regions() and pairs() interface functions on the TAB1 record interface functions that are unused. The removal of these interface functions has no impact on the Python interface as these interface functions were not included on the Python side. Miscellaneous documentation updates were made as well.
66

77
In addition, the following issues were corrected:
88
- A minor bug in the rectangular matrix covariance block was corrected. The values for the row and column energies are lifted out of a larger array using the std::ranges::take and std::ranges::drop function. For the column energies, we forgot to properly end the sequence. As a result, the end() iterator of the range did not point to the end of the column energies but to the end of the covariance values, which is now corrected.

python/src/section/2/151/ResonanceRange.python.cpp

+10-10
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ void wrapResonanceRange( python::module& module, python::module& ) {
4040
python::arg( "parameters" ), python::arg( "scattering_radius" ) = std::nullopt,
4141
"Initialise the component\n\n"
4242
"Arguments:\n"
43-
" self the component\n"
44-
" el the lower energy of the resonance region\n"
45-
" eh the upper energy of the resonance region\n"
46-
" naps the flag to indicate then on how to calculate\n"
47-
" the scattering radius (0 or 1 if no energy\n"
48-
" dependent scattering radius is given and 0, 1\n"
49-
" or 2 if energy dependent scattering radius is\n"
50-
" given)\n"
51-
" parameters the resonance parameters\n"
52-
" scatteringRadius An optional energy dependent scattering radius"
43+
" self the component\n"
44+
" el the lower energy of the resonance region\n"
45+
" eh the upper energy of the resonance region\n"
46+
" naps the flag to indicate then on how to calculate\n"
47+
" the scattering radius (0 or 1 if no energy\n"
48+
" dependent scattering radius is given and 0, 1\n"
49+
" or 2 if energy dependent scattering radius is\n"
50+
" given)\n"
51+
" parameters the resonance parameters\n"
52+
" scattering_radius An optional energy dependent scattering radius"
5353
)
5454
.def_property_readonly(
5555

0 commit comments

Comments
 (0)