Skip to content

Commit 79331de

Browse files
committed
Updating release notes
1 parent c4cba7b commit 79331de

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

ReleaseNotes.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
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 a few interface functions that are unused:
6-
- the regions() and pairs() interface functions on the TAB1 record
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.
76

8-
The removal of these interface functions has no impact on the Python interface as these interface functions were not included on the Python side.
7+
In addition, 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. This has been corrected.
8+
9+
A few changes were also made to remove some range-v3 code in MF1 MT451. These changes have no impact on functionality.
910

1011
## [ENDFtk v1.1.0](https://github.com/njoy/ENDFtk/pull/198)
1112
This update adds additional interface functions to complete the human readable and ENDF speak interface for many objects:

python/test/Test_ENDFtk_RectangularMatrix.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ def verify_chunk( self, chunk ) :
2424
self.assertEqual( 6, chunk.procedure )
2525
self.assertEqual( 3, chunk.NER )
2626
self.assertEqual( 3, chunk.number_row_energies )
27-
self.assertEqual( 3, len(chunk.row_energies) )
27+
self.assertEqual( 3, len( chunk.row_energies ) )
2828
self.assertEqual( 4, chunk.NEC )
2929
self.assertEqual( 4, chunk.number_column_energies )
30-
self.assertEqual( 4, len(chunk.column_energies) )
30+
self.assertEqual( 4, len( chunk.column_energies ) )
3131
self.assertEqual( 13, chunk.NT )
3232
self.assertEqual( 13, chunk.number_values )
3333

src/ENDFtk/section/RectangularMatrix.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class ENDFTK_PYTHON_EXPORT RectangularMatrix : protected ListRecord {
8888
auto columnEnergies() const {
8989

9090
return ranges::views::take_exactly( ListRecord::list(), this->NER() + this->NEC() )
91-
| ranges::views::drop_exactly( this->NER() );
91+
| ranges::views::drop_exactly( this->NER() );
9292
}
9393

9494
/**

src/ENDFtk/section/RectangularMatrix/test/RectangularMatrix.test.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ void verifyChunk( const RectangularMatrix& chunk ) {
121121
CHECK( 6 == chunk.LB() );
122122
CHECK( 6 == chunk.procedure() );
123123
CHECK( 3 == chunk.NER() );
124-
CHECK( 3 == ranges::cpp20::distance( chunk.rowEnergies() ) );
125124
CHECK( 3 == chunk.numberRowEnergies() );
125+
CHECK( 3 == chunk.rowEnergies().size() );
126126
CHECK( 4 == chunk.NEC() );
127-
CHECK( 4 == ranges::cpp20::distance( chunk.columnEnergies() ) );
128127
CHECK( 4 == chunk.numberColumnEnergies() );
128+
CHECK( 4 == chunk.columnEnergies().size() );
129129
CHECK( 13 == chunk.NT() );
130130
CHECK( 13 == chunk.numberValues() );
131131

0 commit comments

Comments
 (0)