Skip to content

Commit

Permalink
model pointer must be updated after copying the model class
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Jul 2, 2015
1 parent 8668035 commit 53ac6b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/mass_eigenstates.cpp.in
Expand Up @@ -214,16 +214,19 @@ void CLASSNAME::tadpole_equations(double tadpole[number_of_ewsb_equations]) cons

int CLASSNAME::solve_ewsb_tree_level()
{
ewsb_solver->set_model(this); // @todo rethink design
return ewsb_solver->solve_at(0);
}

int CLASSNAME::solve_ewsb_one_loop()
{
ewsb_solver->set_model(this); // @todo rethink design
return ewsb_solver->solve_at(1);
}

int CLASSNAME::solve_ewsb()
{
ewsb_solver->set_model(this); // @todo rethink design
return ewsb_solver->solve();
}

Expand Down

0 comments on commit 53ac6b5

Please sign in to comment.