Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects

Opal maps

Merged snuverink_j requested to merge OPAL-maps into master
Compare and Show latest version
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -534,7 +534,7 @@ inline void ThickTracker::visitSBend(const SBend &bend) {
//FIXME e1 not initialised
//insert Entrance Fringefield
double e1 = bend.getEntranceAngle();
if (e1 > 1e-6){
if (std::abs(e1) > 1e-6){
elements_m.push_back(std::make_tuple(hamiltonian_m.fringeField(e1, h),
1, 0.0));
}
@@ -547,7 +547,7 @@ inline void ThickTracker::visitSBend(const SBend &bend) {
//FIXME e2 not initialised
//insert Exit Fringe field
double e2 = bend.getExitAngle();
if (e1 > 1e-6){
if (std::abs(e2) > 1e-6){
elements_m.push_back(std::make_tuple(hamiltonian_m.fringeField(e2, h),
1, 0.0));
}
Loading