Commit fbb1d5c0 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

int_part.cc: Avoid unnecessary resize

parent 9489f197
Pipeline #369 passed with stage
in 174 minutes and 45 seconds
......@@ -43,7 +43,6 @@ void init_q_cache(size_t n_max)
if (old_n >= n_max)
return;
__q_cache.resize(boost::extents[0][0]);
__q_cache.resize(boost::extents[n_max + 1][n_max + 1]);
std::fill(__q_cache.data(), __q_cache.data() + __q_cache.num_elements(),
-std::numeric_limits<double>::infinity());
......
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