1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-04-05 09:35:54 +01:00

sample combination utility: general file format

This commit is contained in:
Antonin Portelli 2016-01-14 11:54:17 +00:00 committed by Antonin Portelli
parent 6657cba5c8
commit 7dff22cdcf

View File

@ -90,7 +90,7 @@ int main(int argc, char *argv[])
cout << "-- loading data..." << endl;
for (unsigned int i = 0; i < n; ++i)
{
sample[i] = Io::load<DMatSample, AsciiFile>(fileName[i]);
sample[i] = Io::load<DMatSample>(fileName[i]);
if (i == 0)
{
nSample = sample[i].size();
@ -128,7 +128,7 @@ int main(int argc, char *argv[])
cout << "standard deviation:\n" << result.variance().cwiseSqrt() << endl;
if (!outFileName.empty())
{
Io::save<DMatSample, AsciiFile>(result, outFileName);
Io::save<DMatSample>(result, outFileName);
}
return EXIT_SUCCESS;