Skip to content

Commit

Permalink
Fix d8y directions from get_dy_for_topology
Browse files Browse the repository at this point in the history
  • Loading branch information
r-barnes committed Mar 21, 2022
1 parent adab207 commit dd299c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/richdem/common/constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ constexpr auto get_dx_for_topology() {
template<Topology topo>
constexpr auto get_dy_for_topology() {
if constexpr (topo==Topology::D8){
return d8x;
return d8y;
} else if constexpr (topo==Topology::D4){
return d4x;
return d4y;
} else {
//static_assert(false, "Unknown topology!");
}
Expand Down

0 comments on commit dd299c1

Please sign in to comment.