Skip to content

Commit 13a9b96

Browse files
committed
Make allow_backtprop also a particle element in McXtrace
1 parent 37bfb0f commit 13a9b96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mccode/src/cogen.c.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,9 +1609,9 @@ void def_trace_section(struct instr_def *instr)
16091609
"x", "y", "z", "vx", "vy", "vz",
16101610
"t", "sx", "sy", "sz", "p", "mcgravitation", "mcMagnet", "allow_backprop", "_mctmp_a", "_mctmp_b", "_mctmp_c"
16111611
#elif MCCODE_PROJECT == 2 /* xray */
1612-
#define NUM_STATE_PARS 15
1612+
#define NUM_STATE_PARS 16
16131613
"x", "y", "z", "kx", "ky", "kz",
1614-
"phi", "t", "Ex", "Ey","Ez", "p", "_mctmp_a", "_mctmp_b", "_mctmp_c"
1614+
"phi", "t", "Ex", "Ey","Ez", "p", "allow_backprop", "_mctmp_a", "_mctmp_b", "_mctmp_c"
16151615
#endif
16161616
};
16171617

0 commit comments

Comments
 (0)