> *gsl_vector_ptr(v, i) += x

Of course, make sure warnings about expressions without side effects
are turned on.  Otherwise it may be a long debugging session before
you discover a

    gsl_vector_ptr(v, i) += x

mistake for integer-like types.

- Rhys

Reply via email to