Skip to content
Snippets Groups Projects
Commit 5102dc33 authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

KERNEL: if a kernel is invalid give an error!

parent be5cee6b
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,10 @@ width(sig)
ktype=uniform;
} else if(type=="TRIANGULAR" || type=="triangular"){
ktype=triangular;
} else {
plumed_merror(type+" is an invalid kernel type\n");
}
if( norm ){
double det;
......
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