hi
The below code compiles
But if i modify the same code like below i get errorCode:typedef Correlation<vsip::Vector,support_full,value_type> cor; Domain<1> aa(nrange); cor co(aa,aa);
why the object is not created with out the object name.Code:typedef Correlation<vsip::Vector,support_full,value_type> cor; cor co(Domain<1>(nrange),Domain<1>(nrange));
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



LinkBack URL
About LinkBacks



CornedBee