Skip to content

Commit

Permalink
fix issue #710
Browse files Browse the repository at this point in the history
  • Loading branch information
HelmutCERN committed Dec 18, 2018
1 parent 6379d22 commit 9c7f25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mad_mkthin.cpp
Expand Up @@ -936,7 +936,7 @@ static void add_half_angle_to(const element* rbend_el,element* to_el,const char*
if(to_param) // modify the existing parameter in to_el
{
if(verbose_fl()) std::cout << __FILE__<< " " << __FUNCTION__ << " line " << std::setw(4) << __LINE__ << " original to_param " << my_dump_command_parameter(to_param) << '\n';
to_param->expr = compound_expr(to_param->expr,0,"+",half_angle_expr,0);
to_param->expr = compound_expr( my_get_param_expression(to_param) ,0,"+",half_angle_expr,0);
if(verbose_fl()) std::cout << __FILE__<< " " << __FUNCTION__ << " line " << std::setw(4) << __LINE__ << " now to_param " << my_dump_command_parameter(to_param) << '\n';
}
else // param not yet in to_el, start from parameter definition
Expand Down

1 comment on commit 9c7f25e

@tpersson
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked out this branch but it doesn't compile..

Please sign in to comment.