Commit 9def5cd2 authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

correction de logique de coucle ds visi2tmfreq.cc, Reza 19/06/2015

parent 153cc44a
......@@ -148,7 +148,7 @@ int main(int narg, char* arg[])
while (fgok) { // boucle de lecture des fichiers d'entree
fgok=vreader.ReadNext(vismtx, cfdate, mttag);
if (fgok) {
if (!fgok) continue;
if (cnt==0) { //resizing matrices for sum of auto-correlations and sum of 6 cross-correlations
acsum.SetSize(8, vismtx.NCols());
// Allocating time-frequency maps
......@@ -157,7 +157,7 @@ int main(int narg, char* arg[])
cout << " visi2tmfreq/Info: allocating Time-Freqncy maps : Freq->NX= "<<tfmSX<<" x Time->NY="<<tfmSY<<endl;
for(int k=0; k<6; k++) vtfm.push_back( TArray< r_4 >(tfmSX, tfmSY) );
}
}
cnt++;
if (I==0) { // start filling a new DataTable row
dateobs=cfdate;
if (prtlev>0)
......
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