Mentions légales du service

Skip to content
Snippets Groups Projects

Resolve "Fix: Univariate Statistics"

Merged Thomas PRAMPART requested to merge 205-fix-univariate-statistics into development
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -222,7 +222,10 @@ bool CAlgoUnivariateStatistic::setMatrixDimension(CMatrix* matrix, CMatrix* ref)
@@ -222,7 +222,10 @@ bool CAlgoUnivariateStatistic::setMatrixDimension(CMatrix* matrix, CMatrix* ref)
this->getLogManager() << Kernel::LogLevel_Warning << "Input matrix doesn't respect basic criteria (2 Dimensions)\n";
this->getLogManager() << Kernel::LogLevel_Warning << "Input matrix doesn't respect basic criteria (2 Dimensions)\n";
return false;
return false;
}
}
matrix->copyDescription(*ref);
matrix->setDimensionCount(ref->getDimensionCount()); // Also clears the buffer
 
matrix->setDimensionSize(0, ref->getDimensionSize(0));
 
matrix->setDimensionSize(1, 1);
 
return true;
return true;
}
}
} // namespace SignalProcessing
} // namespace SignalProcessing
Loading