Skip to content
Snippets Groups Projects
Commit 6a1542b3 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

fix

(should go with af0def1e)
parent ef1415f0
No related branches found
No related tags found
No related merge requests found
......@@ -253,7 +253,7 @@ void SwitchingFunction::set(const std::string & definition,std::string& errormsg
else if(name=="GAUSSIAN") type=gaussian;
else if(name=="CUBIC") type=cubic;
else if(name=="TANH") type=tanh;
else if(name=="MATHEVAL" && std::getenv("PLUMED_USE_LEPTON")) {
else if((name=="MATHEVAL" || name=="CUSTOM") && std::getenv("PLUMED_USE_LEPTON")) {
type=leptontype;
std::string func;
Tools::parse(data,"FUNC",func);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment