remove unused variable (#31)

This commit is contained in:
Stefan Vigerske
2022-04-06 15:48:25 +02:00
committed by GitHub
parent 53ba1b16e8
commit eee9745028
@@ -273,7 +273,6 @@ interval<T, Policies> nth_root(interval<T, Policies> const &x, int k)
if (interval_lib::detail::test_input(x)) return I::empty();
assert(k > 0);
if (k == 1) return x;
typename Policies::rounding rnd;
typedef typename interval_lib::unprotect<I>::type R;
if (!interval_lib::user::is_pos(x.upper())) {
if (interval_lib::user::is_zero(x.upper())) {