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
Commit afc68df9 authored by ext-rogers_c's avatar ext-rogers_c
Browse files

Fix tests for updated placement routines

parent 7af80f1f
No related branches found
No related tags found
1 merge request!584Resolve "Asymmetric Enge function for Scaling FFA Magnet"
......@@ -78,6 +78,7 @@ TEST(OpalScalingFFAMagnetTest, TestUpdate) {
// r in mm, phi in rad; note the weird coordinate system
Vector_t cartesianCoord(double r, double phi) {
phi -= Physics::pi/2.0;
return Vector_t(-r*sin(phi), 0.0, r*cos(phi))-Vector_t(r, 0, 0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment