Skip to content

Commit

Permalink
Fixing a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
whaeck committed Aug 14, 2024
1 parent 60deb90 commit 79c28b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/scion/math/InterpolationTable/src/evaluateOnGrid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ std::vector< Y > evaluateOnGrid( const std::vector< X >& x ) const {
auto xIter = std::lower_bound( x.begin(), x.end(), this->x().front() );
if ( *std::next( xIter ) == this->x().front() ) {

// move to the next x value in case of a jump
++xIter;
}
auto yIter = std::next( y.begin(), std::distance( x.begin(), xIter ) );
Expand Down
4 changes: 2 additions & 2 deletions src/scion/unionisation/unionise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace unionisation {
* @brief Unionise two grids and preserve duplicate points that appear in each
*
* If the grids do not have the same begin and/or end point, a duplicate point
* is inserted into the grid corresponding to the highest begining and/or
* lowest end point (unless those is already a duplicate point).
* is inserted into the grid corresponding to the highest beginning and/or
* lowest end point (unless those are already a duplicate point).
*
* @param first the first grid (assumed to be sorted)
* @param second the second grid (assumed to be sorted)
Expand Down

0 comments on commit 79c28b2

Please sign in to comment.