Commit 9566e26b authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: minor improvements

parent 77238ec3
......@@ -339,9 +339,9 @@ private:
{
// Print results
oss.str(std::string(""));
oss << " className requiredSamples totalSamples rate" << std::endl;
oss << " className requiredSamples totalSamples rate\n";
MapRateType rates = m_CalculatorList->GetRatesByClass(i);
if(rates.size())
if(!rates.empty())
{
noSamples = false;
}
......
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