Commit b1f5b509 authored by kraus's avatar kraus
Browse files

revert tolerance

parent 10a5062e
......@@ -374,7 +374,7 @@ void OpalBeamline::prepareSections() {
CompVec tmp;
FieldList::iterator flit;
list<double>::iterator pos_it, next_it, last_it;
const double tolerance = 1.e-10;
const double tolerance = 1.e-4;
if (elements_m.size() == 0) {
prepared_m = true;
......@@ -529,4 +529,4 @@ FieldList OpalBeamline::getElementByType(ElementBase::ElementType type) {
}
}
return elements_of_requested_type;
}
\ No newline at end of file
}
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