Skip to content
Snippets Groups Projects
Commit ecbcd3a3 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #3696: Fixed SampleType to allow the use of i4complex

parent 308a5c2d
No related branches found
No related tags found
No related merge requests found
......@@ -3,16 +3,20 @@
#include <complex>
#include <ostream>
#include <Common/LofarTypes.h>
namespace LOFAR {
namespace RTCP {
template<typename T> struct SampleType {
std::complex<T> x;
std::complex<T> y;
T x, y;
};
template<> struct SampleType<i16complex>;
template<> struct SampleType<i8complex>;
template<> struct SampleType<i4complex>;
template<typename T> std::ostream &operator <<(std::ostream &str, const struct SampleType<T> &sample)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment