mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-04-11 03:20:46 +01:00
sample-combine fix
This commit is contained in:
parent
e43a7c6d0b
commit
6906b0c00d
@ -69,6 +69,7 @@ void loadAndCheck(vector<DMatSample> &sample, const vector<string> &fileName)
|
|||||||
sample[i] = Io::load<DMatSample>(fileName[i]);
|
sample[i] = Io::load<DMatSample>(fileName[i]);
|
||||||
if (!gotSize)
|
if (!gotSize)
|
||||||
{
|
{
|
||||||
|
nSample = sample[i].size();
|
||||||
nRow = sample[i][central].rows();
|
nRow = sample[i][central].rows();
|
||||||
nCol = sample[i][central].cols();
|
nCol = sample[i][central].cols();
|
||||||
gotSize = true;
|
gotSize = true;
|
||||||
@ -78,10 +79,6 @@ void loadAndCheck(vector<DMatSample> &sample, const vector<string> &fileName)
|
|||||||
{
|
{
|
||||||
failed.insert(i);
|
failed.insert(i);
|
||||||
}
|
}
|
||||||
if (i == 0)
|
|
||||||
{
|
|
||||||
nSample = sample[i].size();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
for (unsigned int i: failed)
|
for (unsigned int i: failed)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user