Bug in assignment of coordinates corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Jul 2004 14:48:26 +0000 (14:48 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Jul 2004 14:48:26 +0000 (14:48 +0000)
TFluka/magfld.cxx

index 5d300ac..b0da475 100644 (file)
@@ -36,8 +36,8 @@ extern "C" void type_of_call magfld(double& x,   double& y,   double& z,
     Double_t bc[3];
     Double_t xc[3];
     
-    xc[1] = x;
-    xc[0] = y;
+    xc[0] = x;
+    xc[1] = y;
     xc[2] = z;