###
Adaptation

It is possible to adapt the problem while generating the curve. If Adapt has a value, say , then after computed points a call to `[reeval,x,v]=feval(cds.curve_adapt,x,v)` will be made where the user can program to change the system.

For some applications it is useful to change or modify the used test functions while computing the curve (like in bordering techniques). In order to preserve the correct signs of the test functions it is sometimes necessary to reevaluate the test functions after adaptation. To do this `reeval` should be one, otherwise zero. The return variables `x` and `v` should be the updated `x` and `v` which may have changed because of the changes made to the system.