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 c6daf68b authored by frey_m's avatar frey_m
Browse files

COF: read in constructor

parent 0c6740d7
No related branches found
No related tags found
No related merge requests found
...@@ -269,6 +269,9 @@ ClosedOrbitFinder<Value_type, ...@@ -269,6 +269,9 @@ ClosedOrbitFinder<Value_type,
if (domain_m) { if (domain_m) {
N_m /= cycl_m->getSymmetry(); N_m /= cycl_m->getSymmetry();
} }
cycl_m->read(cycl_m->getFieldFlag(cycl_m->getCyclotronType()),
cycl_m->getBScale());
// reserve storage for the orbit and momentum (--> size = 0, capacity = N_m+1) // reserve storage for the orbit and momentum (--> size = 0, capacity = N_m+1)
/* /*
...@@ -403,9 +406,6 @@ bool ClosedOrbitFinder<Value_type, Size_type, Stepper>::findOrbit(value_type acc ...@@ -403,9 +406,6 @@ bool ClosedOrbitFinder<Value_type, Size_type, Stepper>::findOrbit(value_type acc
* q' = 1/b = 1/bcon * q' = 1/b = 1/bcon
* a' = a = acon * a' = a = acon
*/ */
cycl_m->read(cycl_m->getFieldFlag(cycl_m->getCyclotronType()),
cycl_m->getBScale());
value_type bint, brint, btint; value_type bint, brint, btint;
......
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