Skip to content

Commit

Permalink
N_bytes to bounded has been allowed.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKrawisz committed Aug 24, 2022
1 parent 2ab6489 commit d56d30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/data/math/number/bounded/bounded.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ namespace data::math::number {
return double(N(*this));
}

private:
explicit bounded(const N_bytes<r>& n) : bounded{} {
if (n.size() <= size) {
if (r == endian::little) {
Expand All @@ -287,6 +286,7 @@ namespace data::math::number {
}
}

private:
bounded(const sint<r, size>&) {
throw method::unimplemented{"bounded<size, o, false>{bounded<size, o, true>}"};
}
Expand Down

0 comments on commit d56d30c

Please sign in to comment.