Hi Noel,I think the problem is that you don't implement a copy constructor for your class. Instead the code uses the compiler generated copy constructor, which copies all members naively, while you'd need something like
v = gsl_vector_allocate(DIM); gsl_vector_memcpy(v, other.v); Hope that helps. Peter _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
