Skip to content
Snippets Groups Projects
Commit 06e42db5 authored by Andre Offringa's avatar Andre Offringa
Browse files

Task #1892: remove some warnings

parent 291e7db5
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@
#include <AOFlagger/util/aologger.h>
#include <AOFlagger/util/ffttools.h>
#include <boost/concept_check.hpp>
namespace rfiStrategy {
......@@ -176,6 +177,16 @@ private:
numl_t
**fSinTable,
**fCosTable;
IterationData() :
artifacts(0), width(0), fourierWidth(0), rangeStart(0), rangeEnd(0),
vZeroPos(0), startXf(0), endXf(0),
maxDist(0.0),
rowRValues(0), rowIValues(0), rowUPositions(0), rowVPositions(0),
fourierValuesReal(0), fourierValuesImag(0), channelMaxDist(0),
fSinTable(0), fCosTable(0)
{
}
};
Image2DPtr PerformSingleSincOperation(ArtifactSet &artifacts) const
......
......@@ -103,7 +103,6 @@ namespace rfiStrategy {
}
virtual void AddReadRequest(const ImageSetIndex &index)
{
const RawImageSetIndex &rawIndex = static_cast<const RawImageSetIndex&>(index);
float data[122100];
_reader.Read(0, 122100, data);
Image2DPtr image = Image2D::CreateUnsetImagePtr(122100, 1);
......
......@@ -60,7 +60,7 @@ int fit_df(const gsl_vector *xvec, void *data, gsl_matrix *J)
const double x = i.value();
if(x >= minVal && x < maxVal && std::isfinite(x))
{
const double val = i.normalizedCount();
//const double val = i.normalizedCount();
//const double weight = log(val);
double dfdsigma, dfdn;
......
......@@ -140,6 +140,7 @@ Image2DPtr Compress::Read(std::ifstream &stream, Image2DPtr image, Mask2DCPtr ma
}
}
}
return Image2DPtr();
}
unsigned long Compress::RawSize()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment