mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
fake sample utility fix
This commit is contained in:
parent
1f21f7fb81
commit
1adf182caf
@ -47,7 +47,14 @@ int main(int argc, char *argv[])
|
||||
|
||||
FOR_STAT_ARRAY(res, s)
|
||||
{
|
||||
res[s](0, 0) = gen.gaussian(val, err);
|
||||
if (s == central)
|
||||
{
|
||||
res[s](0, 0) = val;
|
||||
}
|
||||
else
|
||||
{
|
||||
res[s](0, 0) = gen.gaussian(val, err);
|
||||
}
|
||||
}
|
||||
Io::save<DMatSample, AsciiFile>(res, outFileName);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user