Skip to content
Snippets Groups Projects
Commit 95bd301e authored by Jan Domanski's avatar Jan Domanski
Browse files

Regression tests pass

parent 668c8191
No related branches found
No related tags found
No related merge requests found
...@@ -347,7 +347,7 @@ double SwitchingFunction::calculate(double distance,double&dfunc)const{ ...@@ -347,7 +347,7 @@ double SwitchingFunction::calculate(double distance,double&dfunc)const{
const double rdist = (distance-d0)*invr0; const double rdist = (distance-d0)*invr0;
double result; double result;
if(rdist<0){ if(rdist<=0.){
result=1.; result=1.;
dfunc=0.0; dfunc=0.0;
}else{ }else{
......
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