hi
The below code compiles
Code:
typedef Correlation<vsip::Vector,support_full,value_type> cor;
Domain<1> aa(nrange);
cor co(aa,aa);
But if i modify the same code like below i get error
Code:
typedef Correlation<vsip::Vector,support_full,value_type> cor;
cor co(Domain<1>(nrange),Domain<1>(nrange));
why the object is not created with out the object name.
The error is
Code:
../ds.cpp:86: error: conversion from `vsip::Vector<std::complex<float>, vsip::Dense<1u, std::complex<float>, vsip::tuple<0u, 1u, 2u>, vsip::Local_map> >' to non-scalar type `vsip::Domain<1u>' requested
../ds.cpp:127:5: warning: no newline at end of file
make: *** [ds.o] Error 1