Commit c8147174 authored by kraus's avatar kraus
Browse files

adding necessary include files

parent 50b9b050
......@@ -7,10 +7,13 @@
/*****************************************************************************/
#include <algorithm>
#include <vector>
#include <cstring>
#include "Ctunes.h"
#include "lomb.h"
#include "lomb.cc"
#include "Utility/Inform.h"
#include "Algorithms/Ctunes.h"
#include "Algorithms/lomb.h"
#include "Algoritms/lomb.hpp"
extern Inform *gmsg;
......@@ -18,7 +21,11 @@ extern Inform *gmsg;
//RANLIB_class rndm(265314159,4);
TUNE_class::TUNE_class()
TUNE_class::TUNE_class():
ofac(0.0),
hifac(0.0),
Qmin(0.0),
Qmax(0.0)
/*---------------------------------------------------------------------------*
* constructor
* ===========
......@@ -101,7 +108,7 @@ int TUNE_class::LombAnalysis(vector<double> &x, vector<double> &y, int nhis, dou
memset(mess, '\0', sizeof(mess));
sprintf(mess, "@C3ERROR: Lomb analysis failed!");
*gmsg << "* " << mess << endl;
delete la;
la = NULL;
return(-1);
......@@ -240,7 +247,7 @@ int TUNE_class::LombAnalysis(double *x, double *y, int Ndat, int nhis)
memset(mess, '\0', sizeof(mess));
sprintf(mess, "%12.8f %8.2f %8.3f %d", pairx[pairc], pairy[pairc],
probi, i);
*gmsg << "* " << mess << endl;
*gmsg << "* " << mess << endl;
}
}
pairc++;
......@@ -256,5 +263,4 @@ int TUNE_class::LombAnalysis(double *x, double *y, int Ndat, int nhis)
return(0);
}
}
\ No newline at end of file
......@@ -6,6 +6,7 @@
/* (update: ASM, September 2001) */
/*****************************************************************************/
#include "lomb.h"
#include <iostream>
using namespace std;
......
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