Skip to content

Commit

Permalink
going to do some things
Browse files Browse the repository at this point in the history
  • Loading branch information
Joeperdefloep committed Jun 3, 2022
1 parent b02fcd6 commit 8289e25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/richdem/common/grid_cell.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct GridCell {
/// Initiate the grid cell without coordinates; should generally be avoided
GridCell() = default;
/// Initiate the grid cell to the coordinates (x0,y0)
GridCell(int x, int y):x(x),y(y){}
GridCell(int x0, int y0):x(x0),y(y0){}
bool operator == (const GridCell &a) const {return x == a.x && y == a.y;}
};

Expand Down
6 changes: 3 additions & 3 deletions include/richdem/methods/upslope_cells.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _richdem_catchment_delineation_hpp_
#define _richdem_catchment_delineation_hpp_
#ifndef _richdem_upslope_cells_hpp_
#define _richdem_upslope_cells_hpp_

#include <richdem/common/Array2D.hpp>
#include <richdem/common/Array3D.hpp>
Expand All @@ -26,4 +26,4 @@ template< class result_t> void UC_line_props(int x0,
template< class elev_t, class result_t> void UC_line_mflow(int x0, int y0, int x1, int y1, const Array2D<elev_t> &elev, Array2D<result_t> &upslope){init(upslope,elev,0); std::queue<GridCell> expansion = queue_from_linepoints(x0,y0,x1,y1,upslope); upslope_cells_mflow<Topology::D8>(expansion, elev, upslope);}

}
#endif
#endif //_richdem_upslope_cells_
4 changes: 2 additions & 2 deletions include/richdem/methods/upslope_cells_functions.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _richdem_catchment_delineation_generic_hpp_
#define _richdem_catchment_delineation_generic_hpp_
#ifndef _richdem_upslope_cells_functions_hpp_
#define _richdem_upslope_cells_functions_hpp_

#include <richdem/common/Array2D.hpp>
#include <richdem/common/Array3D.hpp>
Expand Down

0 comments on commit 8289e25

Please sign in to comment.