Skip to content
Snippets Groups Projects
Commit ef3973f3 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

ENH: pas by const ref to sampleCombine

parent 1f3e110c
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,7 @@ void findKNNIndices(const SampleVectorType& inSamples,
/** Generate the new sample in the line linking s1 and s2
*/
SampleType smoteCombine(SampleType s1, SampleType s2, double position)
SampleType smoteCombine(const SampleType& s1, const SampleType& s2, double position)
{
auto result = s1;
for(size_t i=0; i<s1.size(); ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment