Commit 074a041f authored by PACANOWSKI Romain's avatar PACANOWSKI Romain
Browse files

Indentation

parent c9b00322
...@@ -250,9 +250,9 @@ function* plugins_manager::get_function(const arguments& args) ...@@ -250,9 +250,9 @@ function* plugins_manager::get_function(const arguments& args)
{ {
std::string n("--func "); std::string n("--func ");
n.append(args_vec[i]); n.append(args_vec[i]);
#ifdef DEBUG #ifdef DEBUG
std::cout << "<<DEBUG>> load function with args: " << n << std::endl; std::cout << "<<DEBUG>> load function with args: " << n << std::endl;
#endif #endif
arguments temp_args = arguments::create_arguments(n); arguments temp_args = arguments::create_arguments(n);
function* f = get_function(temp_args); function* f = get_function(temp_args);
if(dynamic_cast<nonlinear_function*>(f) == NULL) if(dynamic_cast<nonlinear_function*>(f) == NULL)
...@@ -331,8 +331,9 @@ function* plugins_manager::get_function(const arguments& args) ...@@ -331,8 +331,9 @@ function* plugins_manager::get_function(const arguments& args)
std::cerr << "<<ERROR>> the right part of the product is not a nonlinear function. Will use only the left part." << std::endl; std::cerr << "<<ERROR>> the right part of the product is not a nonlinear function. Will use only the left part." << std::endl;
return func; return func;
} }
} }
/* /*
// Correction of the data by 1/cosine(theta_L) // Correction of the data by 1/cosine(theta_L)
if(args.is_defined("data-correct-cosine")) if(args.is_defined("data-correct-cosine"))
...@@ -342,6 +343,8 @@ function* plugins_manager::get_function(const arguments& args) ...@@ -342,6 +343,8 @@ function* plugins_manager::get_function(const arguments& args)
} }
// End of correction // End of correction
*/ */
return func; return func;
} }
ptr<data> plugins_manager::get_data(const std::string& n) ptr<data> plugins_manager::get_data(const std::string& n)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment