Skip to content

Commit

Permalink
Correct member function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Harries committed Jan 24, 2017
1 parent 16cff70 commit 3a46558
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/semi_analytic_model.cpp.in
Expand Up @@ -92,10 +92,10 @@ void CLASSNAME::set_semi_analytic_solutions(const @ModelName@_semi_analytic_solu

void CLASSNAME::calculate_semi_analytic_solutions(double input_scale)
{
solutions->set_input_scale(input_scale);
solutions->set_output_scale(get_scale());
solutions->calculate_coefficients(*this);
solutions->evaluate_solutions(*this);
solutions.set_input_scale(input_scale);
solutions.set_output_scale(get_scale());
solutions.calculate_coefficients(*this);
solutions.evaluate_solutions(*this);
}

std::ostream& operator<<(std::ostream& ostr, const @ModelName@<Semi_analytic>& model)
Expand Down

0 comments on commit 3a46558

Please sign in to comment.