Skip to content

Commit

Permalink
Range1d::rank is constexpr.
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Jun 23, 2014
1 parent 528adc9 commit 5316881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btas/range.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ namespace btas {

/// \return The rank (number of dimensions) of this range
/// \throw nothing
size_t rank() const {
constexpr size_t rank() const {
return 1ul;
}

Expand Down

0 comments on commit 5316881

Please sign in to comment.