@@ -111,7 +111,7 @@ subroutine type_taylors (bmad_taylor, max_order, lines, n_lines, file_id, out_st
111111 nl= nl+1 ; write (li(nl), ' (5a)' ) ' v_' , trim (suffix), ' = zeros(TPS64{d_' , trim (suffix), ' }, 6)'
112112 else
113113 nl= nl+1 ; li(nl) = ' using ReferenceFrameRotations'
114- nl= nl+1 ; write (li(nl), ' (3a )' ) ' q_' , trim (suffix), ' = Quaternion{TPS64{d_' , trim (suffix), ' }}(0,0,0,0)'
114+ nl= nl+1 ; write (li(nl), ' (5a )' ) ' q_' , trim (suffix), ' = Quaternion{TPS64{d_' , trim (suffix), ' }}(0,0,0,0)'
115115 endif
116116
117117 do i = 1 , nt
@@ -130,7 +130,7 @@ subroutine type_taylors (bmad_taylor, max_order, lines, n_lines, file_id, out_st
130130 endif
131131
132132 if (nt == 4 ) then
133- nl= nl+1 ; write (li(nl), ' (5a, 7 (i0, a), es24.16)' ) ' q_' , trim (suffix), ' .' , q_out(i), ' [ ' , i, ' ] [[' , (tt% expn(k), ' ,' , k = 1 , 5 ), tt% expn(6 ), ' ]] =' , tt% coef
133+ nl= nl+1 ; write (li(nl), ' (5a, 6 (i0, a), es24.16)' ) ' q_' , trim (suffix), ' .' , q_out(i), ' [[' , (tt% expn(k), ' ,' , k = 1 , 5 ), tt% expn(6 ), ' ]] =' , tt% coef
134134 else
135135 nl= nl+1 ; write (li(nl), ' (3a, 7(i0, a), es24.16)' ) ' v_' , trim (suffix), ' [' , i, ' ][[' , (tt% expn(k), ' ,' , k = 1 , 5 ), tt% expn(6 ), ' ]] =' , tt% coef
136136 endif
0 commit comments