Skip to content

Commit

Permalink
householder.h: simple reformulation that avoids -DDEBUG compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cr-marcstevens committed Dec 2, 2019
1 parent 7439f1d commit b360c4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fplll/householder.h
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,8 @@ template <class ZT, class FT>
inline void MatHouseholder<ZT, FT>::norm_square_R_row(FT &f, int k, int beg, int end, long &expo)
{
FPLLL_DEBUG_CHECK(k >= 0 && k < d);
FPLLL_DEBUG_CHECK(beg <= end && end <= k);
FPLLL_DEBUG_CHECK(beg <= end);
FPLLL_DEBUG_CHECK(end <= k);
if (end == beg)
f = 0.0;
else
Expand Down

0 comments on commit b360c4c

Please sign in to comment.