We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51227e3 commit 35c0d57Copy full SHA for 35c0d57
src/DrfSelect.cpp
@@ -368,8 +368,8 @@ namespace
368
assert( potential_coefs.size() == potential_coef_values.size() );
369
assert( !potential_coefs.empty() && (last_non_zero_coef < potential_coefs.size()) );
370
371
- potential_coefs.resize( last_non_zero_coef );
372
- potential_coef_values.resize( last_non_zero_coef );
+ potential_coefs.resize( last_non_zero_coef + 1 );
+ potential_coef_values.resize( last_non_zero_coef + 1 );
373
374
results.m_coefficients = potential_coef_values;
375
0 commit comments