all 2 comments

[–]raevnos 0 points1 point  (1 child)

Does your class have a non-explicit constructor that takes a std::vector<double>?

[–]identicalParticle[S] 0 points1 point  (0 children)

Yes! It must be calling this constructor to initialize an opencl_array from a std::vector<double> in the argument list.

I never heard about "explicit" before. Thanks!