Commit b55bddd8 authored by kraus's avatar kraus

fixing bug that causes a wrong magnetic field if a Hicker overlaps with an other element

parent b3c2a547
......@@ -70,7 +70,7 @@ bool Corrector::apply(const size_t &i, const double &t, double E[], double B[])
}
bool Corrector::apply(const size_t &i, const double &t, Vector_t &E, Vector_t &B) {
B = kickField_m;
B += kickField_m;
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment