Skip to content

Commit

Permalink
Merge pull request #781 from tpersson/fixMakeThinAndUpdateVersion
Browse files Browse the repository at this point in the history
Fixes new makethin and updates versino number
  • Loading branch information
madcern committed Jun 7, 2019
2 parents 85dea91 + a4daac1 commit b15430a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions VERSION
@@ -1,3 +1,3 @@
VERSION = 5.05.00
VERSION_NUM = 50500
VERSION_DATE = 2019.05.10
VERSION = 5.05.01
VERSION_NUM = 50501
VERSION_DATE = 2019.06.07
2 changes: 1 addition & 1 deletion doc/latexuguide/coverpage.tex
Expand Up @@ -18,7 +18,7 @@
\begin{center}\LARGE % document title
\textbf{The MAD-X Program} \\
(Methodical Accelerator Design) \\
Version 5.05.00 \\
Version 5.05.01 \\
\textbf{User's Reference Manual}
\end{center}
\vskip 1.5em
Expand Down
2 changes: 1 addition & 1 deletion doc/latexuguide/uguide.tex
Expand Up @@ -44,7 +44,7 @@
%\addeditor{IT}

\usepackage{versions}
\markversion{5.05.00} % update coverpage.tex too
\markversion{5.05.01} % update coverpage.tex too

%\usepackage{comment}

Expand Down
2 changes: 1 addition & 1 deletion src/mad_mkthin.cpp
Expand Up @@ -1636,7 +1636,7 @@ void SeqElList::kn_ks_from_thick_elem(const element* thick_elem,command_paramete
}
const struct command_parameter* p;
const std::vector<std::string> kn_name={"k0", "k1", "k2", "k3"};
const std::vector<std::string> ks_name={"k0s","k1s","k2s","k3"};
const std::vector<std::string> ks_name={"k0s","k1s","k2s","k3s"};
for(unsigned int i=0;i<kn_name.size();++i) kn_pars[i] = (p=return_param_recurse(kn_name[i].c_str() ,thick_elem)) ? clone_command_parameter(p) : nullptr;
for(unsigned int i=0;i<ks_name.size();++i) ks_pars[i] = (p=return_param_recurse(ks_name[i].c_str() ,thick_elem)) ? clone_command_parameter(p) : nullptr;
}
Expand Down

0 comments on commit b15430a

Please sign in to comment.