bugfix: iterators must be incremented at end of for-loop in Cyclotron::apply()
While looping over the RF field in
bool Cyclotron::apply(
const Vector_t &R,
const Vector_t &P,
const double &t,
Vector_t &E,
Vector_t &B)
the iterators rffci
and rfvci
are incremented at the beginning of the for loop instead of at the end.
See also #326 (closed).
Edited by gsell