From 1d35286f5c51feecbf03d73609a2d43953501023 Mon Sep 17 00:00:00 2001
From: nadolski <nadolski@9a6e40ed-f3a0-4838-9b4a-bf418f78e88d>
Date: Fri, 17 Sep 2010 09:09:54 +0000
Subject: [PATCH] correction type bug for bpm, hcorr, vcorr, qt lists

---
 tracy/tracy/inc/tracy_global.h | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/tracy/tracy/inc/tracy_global.h b/tracy/tracy/inc/tracy_global.h
index d0c8958..cfc6d51 100644
--- a/tracy/tracy/inc/tracy_global.h
+++ b/tracy/tracy/inc/tracy_global.h
@@ -1,4 +1,5 @@
 #define PLANES 2
+#define BPM_MAX 120
 
 typedef struct globvalrec {
   double        dPcommon,       // dp for numerical differentiation 
@@ -55,10 +56,12 @@ typedef struct globvalrec {
 				   emittances */
   int           RingType;       // 1 if a ring (0 if transfer line)
   
-  Vector        bpm_list;
-  Vector        hcorr_list;
-  Vector        vcorr_list;
-  Vector        qt_list;
+ long bpm_list[BPM_MAX];        /* list of position for bpms into the lattice */
+ long hcorr_list[BPM_MAX];      /* list of position for horizontal correctors */
+ long vcorr_list[BPM_MAX];      /* list of position for vertical correctors  */
+ long qt_list[BPM_MAX];        /* list of position for vertical correctors into the lattice */
+
+
 } globvalrec;
 
 
-- 
GitLab