Commit 464b7d0b authored by Edwin Carlinet's avatar Edwin Carlinet

Add precondition in hinfsup accu.

parent 6c7f1e58
......@@ -93,6 +93,7 @@ namespace mln
void untake(const T& x)
{
mln_precondition(m_count > 0);
mln_precondition(m_hist[x] > 0);
--m_hist[x];
--m_count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment