Closed
Description
The following code doesn't compile because "The container is not iterable, or it is not convertible from/to the functor return value". Changing X
with double
in the container definition fixes the compilation, which hints to an issue with the conversion/understanding of the declared argument.
declarg(X, double)
using namespace hydra::arguments;
...
hydra::device::vector<X> data(n);
hydra::fill_random(data, hydra::UniformShape<X>(0.,1.) );
...